-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Run unit tests on JDK 21 (#1229)
- Loading branch information
1 parent
af79046
commit efad63e
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 | ||
|