Skip to content

Commit 313dbc1

Browse files
authored
Merge pull request #795 from rhusar/ci-jdk22
CI: JDK 22 is now GA.
2 parents dd0cb56 + 0c6e547 commit 313dbc1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [ ubuntu-latest, windows-latest, macos-latest ]
1515
# Keep this list as: all supported LTS JDKs, the latest GA JDK, and the latest EA JDK (if available).
16-
java: [ 11, 17, 21, 22-ea ]
16+
java: [ 11, 17, 21, 22, 23-ea ]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
@@ -29,11 +29,14 @@ jobs:
2929
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3030
restore-keys: |
3131
${{ runner.os }}-maven-
32-
- name: Build (with coverage) with Maven using JDK ${{ matrix.java }}
33-
run: mvn -B verify -P coverage
32+
- name: Build with Maven using JDK ${{ matrix.java }}
33+
run: mvn --batch-mode --no-transfer-progress verify --define net.bytebuddy.experimental=true
34+
- name: Build with coverage with Maven using JDK ${{ matrix.java }}
35+
if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest' }}
36+
run: mvn --batch-mode --no-transfer-progress --activate-profiles=coverage verify
3437
- name: Upload JaCoCo report
35-
uses: actions/upload-artifact@v4
3638
if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest' }}
39+
uses: actions/upload-artifact@v4
3740
with:
3841
name: jacoco
3942
path: code-coverage/target/site/jacoco-aggregate

0 commit comments

Comments
 (0)