Move to Java 17
This commit is contained in:
10
.github/workflows/branch_build.yml
vendored
10
.github/workflows/branch_build.yml
vendored
@ -12,11 +12,11 @@ jobs:
|
||||
name: "Package and linting"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 16
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 16
|
||||
java-version: 17
|
||||
architecture: x64
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2.1.5
|
||||
@ -38,11 +38,11 @@ jobs:
|
||||
- mvn -pl webgoat-integration-tests test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 16
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 16
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
architecture: x64
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2.1.5
|
||||
|
2
.github/workflows/pr_build.yml
vendored
2
.github/workflows/pr_build.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
java: [16]
|
||||
java: [17]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK ${{ matrix.java }}
|
||||
|
Reference in New Issue
Block a user