Skip to content

Commit 67f0130

Browse files
committed
add sbt/setup-sbt
1 parent 2de70f2 commit 67f0130

File tree

3 files changed

+8
-864
lines changed

3 files changed

+8
-864
lines changed

.github/workflows/ci-release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
distribution: temurin
1818
java-version: 8
1919
cache: sbt
20-
- run: ./sbt ci-release
20+
- name: Setup sbt launcher
21+
uses: sbt/setup-sbt@v1
22+
- run: sbt ci-release
2123
env:
2224
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2325
PGP_SECRET: ${{ secrets.PGP_SECRET }}

.github/workflows/test.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,8 @@ jobs:
4141
java-version: ${{ matrix.java }}
4242
check-latest: true
4343
cache: "sbt"
44-
- name: Restore cache
45-
uses: actions/cache@v4
46-
with:
47-
path: |
48-
~/.sbt
49-
~/.ivy2/cache
50-
~/.cache/coursier
51-
key: cache-v1-${{ hashFiles('build.sbt') }}
52-
restore-keys: |
53-
cache-v1-
54-
- name: Compile and Test
55-
run: ./sbt ++${{ matrix.scala }} test
44+
45+
- name: Setup sbt launcher
46+
uses: sbt/setup-sbt@v1
47+
48+
- run: sbt ++${{ matrix.scala }} test

0 commit comments

Comments
 (0)