Skip to content

Commit dd27582

Browse files
authored
Add setup-sbt to CI pipeline (#121)
sbt is gone from the base Ubuntu image starting from December 2024
1 parent 84d00f3 commit dd27582

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
distribution: temurin
2121
java-version: 21
22+
- uses: sbt/setup-sbt@v1
2223
- name: Test Formatting
2324
run: sbt scalafmtCheckAll
2425
test-jvm:
@@ -35,6 +36,7 @@ jobs:
3536
with:
3637
distribution: temurin
3738
java-version: 21
39+
- uses: sbt/setup-sbt@v1
3840
- name: Test
3941
run: sbt rootJVM/test
4042
test-native:
@@ -51,6 +53,7 @@ jobs:
5153
with:
5254
distribution: temurin
5355
java-version: 21
56+
- uses: sbt/setup-sbt@v1
5457
- name: Install scala-native dependencies
5558
run: sudo apt-get install clang libstdc++-12-dev libgc-dev
5659
- name: Test

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
distribution: temurin
1616
java-version: 21
1717
cache: sbt
18+
- uses: sbt/setup-sbt@v1
1819
- run: sbt ci-release
1920
env:
2021
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}

.github/workflows/static.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
with:
3737
java-version: 21
3838
distribution: temurin
39+
- uses: sbt/setup-sbt@v1
3940
- name: Build docs
4041
run: |
4142
sbt "rootJVM/doc"

0 commit comments

Comments
 (0)