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.
|
||||
- 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
|
||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -2,7 +2,7 @@
|
|||
extraction:
|
||||
java:
|
||||
index:
|
||||
java_version: 11
|
||||
java_version: 17
|
||||
maven:
|
||||
version: 3.8.1
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue