bump compiler settings. JDK 11 for prod, JDK 17 for tests (#3435)
This commit is contained in:
parent
1bc6e0e3ae
commit
b263c7a595
|
@ -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
|
||||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -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
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue