mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Upgrade JDKs used by GitHub Actions builds (#1329)
Summary of changes: - Use JDK 17.0.13 instead of 17.0.10. - Use JDK 21.0.5 instead of 21.0.2. - Use JDK 23.0.1 instead of 22.0.2. - Have GitHub issue template reference more recent version numbers. See: - https://adoptium.net/temurin/release-notes/?version=jdk-17.0.11+9 - https://adoptium.net/temurin/release-notes/?version=jdk-17.0.12+7 - https://adoptium.net/temurin/release-notes/?version=jdk-17.0.13+11 - https://adoptium.net/temurin/release-notes/?version=jdk-21.0.3+9 - https://adoptium.net/temurin/release-notes/?version=jdk-21.0.4+7 - https://adoptium.net/temurin/release-notes/?version=jdk-21.0.5+11 - https://adoptium.net/temurin/release-notes/?version=jdk-23+37 - https://adoptium.net/temurin/release-notes/?version=jdk-23.0.1+11
This commit is contained in:
committed by
GitHub
parent
8ec4936980
commit
507d759d02
6
.github/ISSUE_TEMPLATE/bug_report.md
vendored
6
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -42,9 +42,9 @@ Please replace this sentence with log output, if applicable.
|
|||||||
<!-- Please complete the following information: -->
|
<!-- Please complete the following information: -->
|
||||||
|
|
||||||
- Operating system (e.g. MacOS Monterey).
|
- Operating system (e.g. MacOS Monterey).
|
||||||
- Java version (i.e. `java --version`, e.g. `17.0.10`).
|
- Java version (i.e. `java --version`, e.g. `17.0.13`).
|
||||||
- Error Prone version (e.g. `2.25.0`).
|
- Error Prone version (e.g. `2.35.1`).
|
||||||
- Error Prone Support version (e.g. `0.15.0`).
|
- Error Prone Support version (e.g. `0.19.0`).
|
||||||
|
|
||||||
### Additional context
|
### Additional context
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -10,16 +10,16 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-22.04 ]
|
os: [ ubuntu-22.04 ]
|
||||||
jdk: [ 17.0.10, 21.0.2, 22.0.2 ]
|
jdk: [ 17.0.13, 21.0.5, 23.0.1 ]
|
||||||
distribution: [ temurin ]
|
distribution: [ temurin ]
|
||||||
experimental: [ false ]
|
experimental: [ false ]
|
||||||
include:
|
include:
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
jdk: 17.0.10
|
jdk: 17.0.13
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
experimental: false
|
experimental: false
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
jdk: 17.0.10
|
jdk: 17.0.13
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
experimental: false
|
experimental: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Check out code and set up JDK and Maven
|
- name: Check out code and set up JDK and Maven
|
||||||
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
||||||
with:
|
with:
|
||||||
java-version: 17.0.10
|
java-version: 17.0.13
|
||||||
java-distribution: temurin
|
java-distribution: temurin
|
||||||
maven-version: 3.9.9
|
maven-version: 3.9.9
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|||||||
2
.github/workflows/pitest-analyze-pr.yml
vendored
2
.github/workflows/pitest-analyze-pr.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
||||||
with:
|
with:
|
||||||
checkout-fetch-depth: 2
|
checkout-fetch-depth: 2
|
||||||
java-version: 17.0.10
|
java-version: 17.0.13
|
||||||
java-distribution: temurin
|
java-distribution: temurin
|
||||||
maven-version: 3.9.9
|
maven-version: 3.9.9
|
||||||
- name: Run Pitest
|
- name: Run Pitest
|
||||||
|
|||||||
2
.github/workflows/pitest-update-pr.yml
vendored
2
.github/workflows/pitest-update-pr.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Check out code and set up JDK and Maven
|
- name: Check out code and set up JDK and Maven
|
||||||
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
||||||
with:
|
with:
|
||||||
java-version: 17.0.10
|
java-version: 17.0.13
|
||||||
java-distribution: temurin
|
java-distribution: temurin
|
||||||
maven-version: 3.9.9
|
maven-version: 3.9.9
|
||||||
- name: Download Pitest analysis artifact
|
- name: Download Pitest analysis artifact
|
||||||
|
|||||||
2
.github/workflows/run-integration-tests.yml
vendored
2
.github/workflows/run-integration-tests.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
||||||
with:
|
with:
|
||||||
checkout-ref: "refs/pull/${{ github.event.issue.number }}/head"
|
checkout-ref: "refs/pull/${{ github.event.issue.number }}/head"
|
||||||
java-version: 17.0.10
|
java-version: 17.0.13
|
||||||
java-distribution: temurin
|
java-distribution: temurin
|
||||||
maven-version: 3.9.9
|
maven-version: 3.9.9
|
||||||
- name: Install project to local Maven repository
|
- name: Install project to local Maven repository
|
||||||
|
|||||||
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
|
||||||
with:
|
with:
|
||||||
checkout-fetch-depth: 0
|
checkout-fetch-depth: 0
|
||||||
java-version: 17.0.10
|
java-version: 17.0.13
|
||||||
java-distribution: temurin
|
java-distribution: temurin
|
||||||
maven-version: 3.9.9
|
maven-version: 3.9.9
|
||||||
- name: Create missing `test` directory
|
- name: Create missing `test` directory
|
||||||
|
|||||||
7
pom.xml
7
pom.xml
@@ -486,6 +486,13 @@
|
|||||||
<artifactId>mongodb-driver-core</artifactId>
|
<artifactId>mongodb-driver-core</artifactId>
|
||||||
<version>5.2.0</version>
|
<version>5.2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- XXX: Drop this `rewrite-java-17` version declaration once
|
||||||
|
`rewrite-recipe-bom` pulls in version 8.39.1 or greater. -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openrewrite</groupId>
|
||||||
|
<artifactId>rewrite-java-17</artifactId>
|
||||||
|
<version>8.38.1</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openrewrite</groupId>
|
<groupId>org.openrewrite</groupId>
|
||||||
<artifactId>rewrite-templating</artifactId>
|
<artifactId>rewrite-templating</artifactId>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ set -e -u -o pipefail
|
|||||||
|
|
||||||
# Currently all released Error Prone Support versions are compatible with Java
|
# Currently all released Error Prone Support versions are compatible with Java
|
||||||
# 17.
|
# 17.
|
||||||
java_version=17.0.10-tem
|
java_version=17.0.13-tem
|
||||||
(set +u && echo n | sdk install java "${java_version}")
|
(set +u && echo n | sdk install java "${java_version}")
|
||||||
sdk use java "${java_version}"
|
sdk use java "${java_version}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user