Skip to content

Commit

Permalink
Support JDK 22 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Oct 31, 2023
1 parent a7e4ca9 commit ad1e61e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,25 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [17, 21]
java: [17, 21, 22]
distribution: ['zulu']
fail-fast: false
max-parallel: 5
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Set up JDK
- name: Set JDK from jdk.java.net
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
if: ${{ matrix.java != '17' }}
- name: Set up older JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
if: ${{ matrix.java == '17' }}
- name: Test with Maven
run: ./mvnw test -B -D"license.skip=true"
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
<!-- Reproducible Builds -->
<project.build.outputTimestamp>1684514485</project.build.outputTimestamp>

<!-- TODO: Remove this after mybatis-parent 38 -->
<jacoco.plugin>0.8.9</jacoco.plugin>
<!-- TODO: Remove this after mybatis-parent 40 -->
<jacoco.plugin>0.8.11</jacoco.plugin>

<!-- Set byte buddy to experimental -->
<net.bytebuddy.experimental>true</net.bytebuddy.experimental>
Expand Down

0 comments on commit ad1e61e

Please sign in to comment.