Skip to content

Commit d6e76d2

Browse files
csvirimetacosm
andauthored
feat: CI for java 25 (#2947)
* feat: java 25 support Signed-off-by: Attila Mészáros <a_meszaros@apple.com> * use zulu distribution Signed-off-by: Attila Mészáros <a_meszaros@apple.com> * fix Signed-off-by: Attila Mészáros <a_meszaros@apple.com> * latest google format Signed-off-by: Attila Mészáros <a_meszaros@apple.com> * chore: use temurin distribution again, adjust versions Signed-off-by: Chris Laprun <claprun@redhat.com> --------- Signed-off-by: Attila Mészáros <a_meszaros@apple.com> Signed-off-by: Chris Laprun <claprun@redhat.com> Co-authored-by: Chris Laprun <claprun@redhat.com>
1 parent 3db519a commit d6e76d2

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
integration_tests:
1111
strategy:
1212
matrix:
13-
java: [ 17, 21, 24 ]
13+
java: [ 17, 21, 25 ]
1414
# Use the latest versions supported by minikube, otherwise GitHub it will
1515
# end up in a throttling requests from minikube and workflow will fail.
1616
# Minikube does such requests only if a version is not officially supported.
@@ -26,7 +26,7 @@ jobs:
2626
httpclient: [ 'vertx', 'jdk', 'jetty' ]
2727
uses: ./.github/workflows/integration-tests.yml
2828
with:
29-
java-version: 24
29+
java-version: 25
3030
kube-version: '1.32.0'
3131
http-client: ${{ matrix.httpclient }}
3232
experimental: true
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
strategy:
3838
matrix:
39-
java: [ 17, 21, 24 ]
39+
java: [ 17, 21, 25 ]
4040
steps:
4141
- uses: actions/checkout@v5
4242
- name: Set up Java and Maven

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up Java and Maven
4444
uses: actions/setup-java@v5
4545
with:
46-
java-version: 17
46+
java-version: 25
4747
distribution: temurin
4848
cache: 'maven'
4949

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@v5
2323
with:
2424
distribution: temurin
25-
java-version: 21
25+
java-version: 25
2626
cache: 'maven'
2727
- name: Check code format
2828
run: |

.github/workflows/release-project-in-dir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
uses: ad-m/github-push-action@master
8181
with:
8282
branch: "${{inputs.version_branch}}"
83-
github_token: ${{ secrets.GITHUB_TOKEN }}
83+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/snapshot-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/setup-java@v5
2222
with:
2323
distribution: temurin
24-
java-version: 17
24+
java-version: 21
2525
cache: 'maven'
2626
- name: Build and test project
2727
run: ./mvnw ${MAVEN_ARGS} clean install --file pom.xml
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Java and Maven
3434
uses: actions/setup-java@v5
3535
with:
36-
java-version: 17
36+
java-version: 21
3737
distribution: temurin
3838
cache: 'maven'
3939
server-id: central

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/setup-java@v5
2929
with:
3030
distribution: temurin
31-
java-version: 17
31+
java-version: 25
3232
cache: 'maven'
3333
- name: Cache SonarCloud packages
3434
uses: actions/cache@v4

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@
344344
</pom>
345345
<java>
346346
<googleJavaFormat>
347+
<version>1.28.0</version>
347348
<reflowLongStrings>true</reflowLongStrings>
348349
</googleJavaFormat>
349350
<importOrder>

0 commit comments

Comments
 (0)