Skip to content

Commit

Permalink
build: Include tests on JDK 21 in nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren committed Nov 8, 2023
1 parent 9069107 commit 81dbfb2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
include:
- { jdkVersion: "1.11.0", jvmName: "temurin:1.11.0", extraOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' }
- { jdkVersion: "1.21.0", jvmName: "temurin:1.21", extraOpts: '' }
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
Expand All @@ -40,11 +41,11 @@ jobs:
uses: coursier/cache-action@d1039466d0812d6370649b9afb02bbf5f646bacf

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
# v1.3.0
uses: coursier/setup-action@70323223454ac2a9eb2de46f389b4d045cbcdea5
uses: coursier/[email protected]
with:
jvm: ${{ matrix.jvmName }}
# FIXME default index not giving us access to JDK 21 (yet)
jvm-index: https://raw.githubusercontent.com/coursier/jvm-index/32d659500e6c65efb9eee91718a0fb0e797ad4ee/index.json

- name: Run tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "test" ${{ matrix.extraOpts }}
Expand Down

0 comments on commit 81dbfb2

Please sign in to comment.