From 2510e84fbbb1a60236b00046e11b86737570637b Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Tue, 5 Sep 2023 07:19:36 +0200 Subject: [PATCH] Upgrade JDKs used by GitHub Actions builds Summary of changes: - Use JDK 11.0.20 instead of 11.0.19. - Use JDK 17.0.8 instead of 17.0.7. - Use JDK 20.0.2 instead of 20.0.1. See: - https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html - https://www.oracle.com/java/technologies/javase/17-0-8-relnotes.html - https://www.oracle.com/java/technologies/javase/20-0-2-relnotes.html --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/workflows/build.yaml | 6 +++--- .github/workflows/codeql.yml | 2 +- .github/workflows/pitest-analyze-pr.yml | 2 +- .github/workflows/pitest-update-pr.yml | 2 +- .github/workflows/sonarcloud.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f186587c591..5fc87d3fd5a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -42,7 +42,7 @@ Please replace this sentence with log output, if applicable. - Operating system (e.g. MacOS Monterey). -- Java version (i.e. `java --version`, e.g. `17.0.7`). +- Java version (i.e. `java --version`, e.g. `17.0.8`). - Error Prone version (e.g. `2.18.0`). - Error Prone Support version (e.g. `0.9.0`). diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 048bf5010e2..2b31505b038 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,16 +10,16 @@ jobs: strategy: matrix: os: [ ubuntu-22.04 ] - jdk: [ 11.0.19, 17.0.7, 20.0.1 ] + jdk: [ 11.0.20, 17.0.8, 20.0.2 ] distribution: [ temurin ] experimental: [ false ] include: - os: macos-12 - jdk: 17.0.7 + jdk: 17.0.8 distribution: temurin experimental: false - os: windows-2022 - jdk: 17.0.7 + jdk: 17.0.8 distribution: temurin experimental: false runs-on: ${{ matrix.os }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eb1b86334e6..11284132de7 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,7 +28,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 with: - java-version: 17.0.7 + java-version: 17.0.8 distribution: temurin cache: maven - name: Initialize CodeQL diff --git a/.github/workflows/pitest-analyze-pr.yml b/.github/workflows/pitest-analyze-pr.yml index 11f069dd7ad..76dc9418fb1 100644 --- a/.github/workflows/pitest-analyze-pr.yml +++ b/.github/workflows/pitest-analyze-pr.yml @@ -19,7 +19,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 with: - java-version: 17.0.7 + java-version: 17.0.8 distribution: temurin cache: maven - name: Run Pitest diff --git a/.github/workflows/pitest-update-pr.yml b/.github/workflows/pitest-update-pr.yml index 55aca7a1c17..8aff6d54d7b 100644 --- a/.github/workflows/pitest-update-pr.yml +++ b/.github/workflows/pitest-update-pr.yml @@ -26,7 +26,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 with: - java-version: 17.0.7 + java-version: 17.0.8 distribution: temurin cache: maven - name: Download Pitest analysis artifact diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index cc93944196a..6745ed342f7 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 with: - java-version: 17.0.7 + java-version: 17.0.8 distribution: temurin cache: maven - name: Create missing `test` directory