Skip to content

Commit cadd44d

Browse files
committed
ci: test on java 21
1 parent e65bbfe commit cadd44d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
jdk: [8, 11]
12+
jdk: [21]
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
17-
- name: Setup Scala
18-
uses: olafurpg/setup-scala@v12
16+
uses: actions/checkout@v4
17+
- name: Setup JDK
18+
uses: actions/setup-java@v4
1919
with:
20-
java-version: "adopt@1.${{ matrix.jdk }}"
21-
- name: Coursier cache
22-
uses: coursier/cache-action@v6
20+
distribution: temurin
21+
java-version: ${{ matrix.jdk }}
22+
cache: sbt
23+
- uses: sbt/setup-sbt@v1
2324
- name: Build
2425
shell: bash
25-
run: sbt -v -Dfile.encoding=UTF-8 assembly
26+
run: sbt -v assembly
2627
- name: Test
2728
shell: bash
2829
run: target/scala-2.13/exist-xqts-runner-assembly-*-SNAPSHOT.jar --xqts-version HEAD --test-set fn-current-date

0 commit comments

Comments
 (0)