Skip to content

Commit 62b2c79

Browse files
committed
Add missing sbt in CI
1 parent 4426baf commit 62b2c79

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

1818
- name: Set up JDK 1.8
19-
uses: actions/setup-java@v1
19+
uses: actions/setup-java@v4
2020
with:
21-
java-version: 1.8
21+
distribution: temurin
22+
java-version: 8
23+
cache: sbt
2224

23-
- name: Cache SBT
24-
uses: actions/cache@v2
25-
with:
26-
path: |
27-
~/.ivy2/cache
28-
~/.sbt
29-
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt', '**/plugins.sbt') }}
25+
- uses: sbt/setup-sbt@v1
3026

3127
- name: Run tests
3228
run: sbt test mdoc

0 commit comments

Comments
 (0)