Skip to content

Commit 5927013

Browse files
authored
Update scala.yml
Use JDK 24v and add explicit SBT setup
1 parent 98a8769 commit 5927013

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/scala.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Set up JDK 11
17-
uses: actions/setup-java@v2
15+
- uses: actions/checkout@v4
16+
- name: Set up JDK 24
17+
uses: actions/setup-java@v4
1818
with:
19-
java-version: '11'
20-
distribution: 'adopt'
19+
java-version: '24'
20+
distribution: 'temurin'
21+
cache: sbt
22+
- uses: sbt/setup-sbt@v1
2123
- name: Run tests
2224
run: sbt +test

0 commit comments

Comments
 (0)