-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SHIRO-895] Workaround Guice Java17 compat and run tests on 17.
- Loading branch information
Showing
3 changed files
with
52 additions
and
15 deletions.
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 |
---|---|---|
|
@@ -66,11 +66,11 @@ jobs: | |
- version: 11 | ||
dist: zulu | ||
# 14 | ||
- version: 14 | ||
- version: 17 | ||
dist: adopt-hotspot | ||
- version: 14 | ||
- version: 17 | ||
dist: adopt-openj9 | ||
- version: 14 | ||
- version: 17 | ||
dist: zulu | ||
exclude: | ||
# was already built | ||
|
@@ -82,7 +82,7 @@ jobs: | |
# excludes java 16 on macOS. | ||
- os: macOS-latest | ||
java: | ||
version: 16 | ||
version: 11 | ||
# exclude adopt-hotspot on MacOS. zulu (also hotspot) and OpenJ9 are sufficient. | ||
- os: macOS-latest | ||
java: | ||
|
@@ -95,17 +95,6 @@ jobs: | |
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Set up cache for ~./m2/repository | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
~/.m2/repository | ||
!~/.m2/repository/org/apache/shiro | ||
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
maven-${{ matrix.os }}-java${{ matrix.java }}- | ||
maven-${{ matrix.os }}- | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
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
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