Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
~/.ivy2/cache
key: ${{ runner.os }}-${{ hashFiles('build.sbt') }}
- name: Run tests
run: sbt +test
run: sbt test

compile-microsite:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
Expand All @@ -26,13 +28,13 @@ jobs:
uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14

- name: Run tests
run: sbt +test
run: sbt test


- name: Import PGP key
run: echo -e "${{secrets.GPG_KEY}}" | gpg --batch --import

- name: Publish packages
run: |
sbt +publishSigned
sbt publishSigned

3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ ThisBuild / credentials ++= (

val common = Seq(
Test / fork := true,
git.useGitDescribe := true,
// The key is ised by sbt-git, despite the misleading lint warning, hence the Invisible Keyrank
git.useGitDescribe.withRank(KeyRanks.Invisible) := true,
publishMavenStyle := true,
libraryDependencies ++= Seq(
compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
Expand Down