Skip to content

Commit d030d08

Browse files
committed
chore: added JDK 25 to test matrix (#364)
1 parent 5341ada commit d030d08

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

.github/workflows/master-2.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build-scan:
1111
name: SonarCloud Scan
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- uses: actions/checkout@v5
@@ -27,15 +27,15 @@ jobs:
2727
env:
2828
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2929
if: env.SONAR_TOKEN != ''
30-
run: mvn -B clean verify -Pcoverage,sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }}
30+
run: mvn -B clean verify -Pcoverage,sonar -Dsonar.token=$SONAR_TOKEN
3131

3232
build-test:
3333
name: Build & Test - JDK ${{ matrix.java }} on ${{ matrix.os }}
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
java: ['11', '17', '21']
38-
os: [ubuntu-22.04, windows-latest]
37+
java: ['11', '17', '21', '25']
38+
os: [ubuntu-latest, windows-latest]
3939
runs-on: ${{ matrix.os }}
4040

4141
steps:

.github/workflows/master.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build-scan:
1111
name: SonarCloud Scan
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- uses: actions/checkout@v5
@@ -27,15 +27,15 @@ jobs:
2727
env:
2828
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2929
if: env.SONAR_TOKEN != ''
30-
run: mvn -B clean verify -Pcoverage,sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }}
30+
run: mvn -B clean verify -Pcoverage,sonar -Dsonar.token=$SONAR_TOKEN
3131

3232
build-test:
3333
name: Build & Test - JDK ${{ matrix.java }} on ${{ matrix.os }}
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
java: ['8', '11', '17', '21']
38-
os: [ubuntu-22.04, windows-latest]
37+
java: ['8', '11', '17', '21', '25']
38+
os: [ubuntu-latest, windows-latest]
3939
runs-on: ${{ matrix.os }}
4040

4141
steps:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
java: ['8', '11', '17', '21']
15-
os: [ubuntu-22.04, windows-latest]
14+
java: ['11', '17', '21', '25']
15+
os: [ubuntu-latest, windows-latest]
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
@@ -40,7 +40,7 @@ jobs:
4040
publish:
4141
name: Publish Release
4242
needs: [build-test]
43-
runs-on: ubuntu-22.04
43+
runs-on: ubuntu-latest
4444

4545
steps:
4646
- uses: actions/checkout@v5

.github/workflows/sonar.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
sonar-analysis:
1313
name: SonarCloud Analysis for PR
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-latest
1515

1616
steps:
1717
- name: Get PR details
@@ -43,10 +43,11 @@ jobs:
4343
- name: Build/Test & SonarCloud Scan
4444
env:
4545
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
46+
PR_ID: ${{ inputs.pr_id }}
4647
if: env.SONAR_TOKEN != ''
4748
run: |
4849
mvn -B clean verify -Pcoverage,sonar \
49-
-Dsonar.token=${{ secrets.SONAR_TOKEN }} \
50-
-Dsonar.pullrequest.key=${{ inputs.pr_id }} \
50+
-Dsonar.token=$SONAR_TOKEN \
51+
-Dsonar.pullrequest.key=$PR_ID \
5152
-Dsonar.pullrequest.branch=${{ steps.pr.outputs.head_ref }} \
5253
-Dsonar.pullrequest.base=${{ steps.pr.outputs.base_ref }}

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@
5959
<gson.version>2.13.2</gson.version>
6060

6161
<!-- utils -->
62-
<commons-lang3.version>3.18.0</commons-lang3.version>
62+
<commons-lang3.version>3.19.0</commons-lang3.version>
6363
<commons-net.version>3.12.0</commons-net.version>
6464
<slf4j-api.version>2.0.17</slf4j-api.version>
6565

6666
<!-- test -->
6767
<okhttp.version>5.1.0</okhttp.version>
68-
<junit-jupiter.version>5.13.3</junit-jupiter.version>
68+
<junit-jupiter.version>5.13.4</junit-jupiter.version>
6969
<junit-pioneer.version>1.9.1</junit-pioneer.version>
70-
<junit-platform-launcher.version>1.13.3</junit-platform-launcher.version>
70+
<junit-platform-launcher.version>1.13.4</junit-platform-launcher.version>
7171

7272
<!-- Plugins -->
7373
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
7474
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
7575
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
7676
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
7777
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
78-
<sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version>
78+
<sonar-maven-plugin.version>5.2.0.4988</sonar-maven-plugin.version>
7979
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
8080
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
8181

0 commit comments

Comments
 (0)