bump compiler settings. JDK 11 for prod, JDK 17 for tests (#3435)

This commit is contained in:
michaelabuckley 2022-02-28 16:51:32 -05:00 committed by GitHub
parent 1bc6e0e3ae
commit b263c7a595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -23,7 +23,13 @@ jobs:
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Setup java
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 17
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1

View File

@ -2,7 +2,7 @@
extraction:
java:
index:
java_version: 11
java_version: 17
maven:
version: 3.8.1

View File

@ -851,6 +851,8 @@
<fontawesomeVersion>5.4.1</fontawesomeVersion>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.testSource>17</maven.compiler.testSource>
<maven.compiler.testTarget>17</maven.compiler.testTarget>
</properties>
<dependencyManagement>