Skip to content

Commit 8cb5ea7

Browse files
committed
Fix workflows
1 parent 19bbdf3 commit 8cb5ea7

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
~/.ivy2/cache
3232
key: ${{ runner.os }}-${{ hashFiles('build.sbt') }}
3333
- name: Run tests
34-
run: sbt +test
34+
run: sbt test
3535

3636
compile-microsite:
3737
runs-on: ubuntu-latest

.github/workflows/publish.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
18+
with:
19+
fetch-depth: 0
1820
- name: Set up JDK 17
1921
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
2022
with:
@@ -26,13 +28,13 @@ jobs:
2628
uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
2729

2830
- name: Run tests
29-
run: sbt +test
31+
run: sbt test
3032

3133

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

3537
- name: Publish packages
3638
run: |
37-
sbt +publishSigned
39+
sbt publishSigned
3840

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import microsites.MicrositesPlugin.autoImport.micrositeDescription
22

3+
34
val scala213Version = "2.13.18"
45
val scala3Version = "3.3.5"
56

@@ -60,6 +61,8 @@ ThisBuild / credentials ++= (
6061

6162
val common = Seq(
6263
Test / fork := true,
64+
// The key is ised by sbt-git, despite the misleading lint warning, hence the Invisible Keyrank
65+
git.useGitDescribe.withRank(KeyRanks.Invisible) := true,
6366
libraryDependencies ++= {
6467
CrossVersion.partialVersion(scalaVersion.value) match {
6568
case Some((2, 13)) => Seq(

0 commit comments

Comments
 (0)