Skip to content

Commit 20b4080

Browse files
authored
chore: added JDK 25 to test matrix (#364)
1 parent 0e5c6aa commit 20b4080

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
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
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
java: ['11', '17', '21']
14-
os: [ubuntu-22.04, windows-latest]
13+
java: ['11', '17', '21', '25']
14+
os: [ubuntu-latest, windows-latest]
1515
runs-on: ${{ matrix.os }}
1616

1717
steps:
@@ -39,7 +39,7 @@ jobs:
3939
publish:
4040
name: Publish Release
4141
needs: [build-test]
42-
runs-on: ubuntu-22.04
42+
runs-on: ubuntu-latest
4343

4444
steps:
4545
- 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<!-- utils -->
5555
<gson.version>2.13.2</gson.version>
56-
<commons-lang3.version>3.18.0</commons-lang3.version>
56+
<commons-lang3.version>3.19.0</commons-lang3.version>
5757
<commons-net.version>3.12.0</commons-net.version>
5858
<slf4j-api.version>2.0.17</slf4j-api.version>
5959

@@ -69,7 +69,7 @@
6969
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
7070
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
7171
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
72-
<sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version>
72+
<sonar-maven-plugin.version>5.2.0.4988</sonar-maven-plugin.version>
7373
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
7474
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
7575

0 commit comments

Comments
 (0)