Skip to content

Commit

Permalink
chore: Run unit tests on JDK 21 (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren authored Nov 10, 2023
1 parent af79046 commit efad63e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,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
uses: actions/[email protected]
Expand All @@ -39,9 +40,11 @@ jobs:
uses: coursier/[email protected]

- name: Set up JDK ${{ matrix.jdkVersion }}
uses: coursier/[email protected].0
uses: coursier/[email protected].4
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

# hack to solve "Cannot assign requested address" issue - https://github.community/t/github-action-and-oserror-errno-99-cannot-assign-requested-address/173973/1
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand Down

0 comments on commit efad63e

Please sign in to comment.