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. # the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2 - run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }} 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. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v1

View File

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

View File

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