Pārlūkot izejas kodu

Bump JDK to 17

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 gadi atpakaļ
vecāks
revīzija
216ad5d693

+ 2 - 2
.github/workflows/analysis.yml

@@ -32,11 +32,11 @@ jobs:
         with:
           repository: ${{ steps.get-vars.outputs.repo }}
           ref: ${{ steps.get-vars.outputs.branch }}
-      - name: Set up JDK 11
+      - name: Set up JDK 17
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         with:
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Install dependencies
         run: |
           python3 -m pip install defusedxml

+ 1 - 1
.github/workflows/assembleFlavors.yml

@@ -20,7 +20,7 @@ jobs:
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         with:
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Build ${{ matrix.flavor }}
         run: |
           echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties

+ 2 - 2
.github/workflows/check.yml

@@ -16,10 +16,10 @@ jobs:
         task: [ detekt, ktlintCheck ]
     steps:
       - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
-      - name: Set up JDK 11
+      - name: Set up JDK 17
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         with:
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Check ${{ matrix.task }}
         run: ./gradlew ${{ matrix.task }}

+ 1 - 1
.github/workflows/codeql.yml

@@ -39,7 +39,7 @@ jobs:
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         with:
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Assemble
         run: |
           mkdir -p "$HOME/.gradle"

+ 2 - 2
.github/workflows/qa.yml

@@ -17,12 +17,12 @@ jobs:
         id: check-secrets
       - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
         if: ${{ steps.check-secrets.outputs.ok == 'true' }}
-      - name: set up JDK 11
+      - name: set up JDK 17
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         if: ${{ steps.check-secrets.outputs.ok == 'true' }}
         with:
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Build QA
         if: ${{ steps.check-secrets.outputs.ok == 'true' }}
         env: