Skip to content

Commit 1248cd5

Browse files
committed
Update GitHub actions workflow for Java 21
1 parent 779f38f commit 1248cd5

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ on:
77
jobs:
88
build-and-test:
99
runs-on: ubuntu-latest
10-
1110
steps:
12-
- uses: actions/checkout@v2
13-
14-
- uses: olafurpg/setup-scala@v10
11+
- uses: actions/setup-java@v5
1512
with:
16-
java-version: openjdk@1.17.0
13+
distribution: zulu
14+
java-version: 21.0.2
15+
java-package: jdk+fx
16+
cache: sbt
17+
18+
- uses: sbt/setup-sbt@v1
1719

1820
- uses: r-lib/actions/setup-r@v2
1921

20-
- run: sbt -v update compile
21-
- run: sbt -v test
22+
- name: Build and Test
23+
run: |
24+
sbt -v update compile
25+
sbt -v test

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.7.2
1+
sbt.version=1.10.1

0 commit comments

Comments
 (0)