Skip to content

Commit

Permalink
Include Java 21 for GitHub CI (#383)
Browse files Browse the repository at this point in the history
* Bumped action version

* Added java 21

* Bumped byte buddy
  • Loading branch information
Hakky54 authored Sep 29, 2023
1 parent f98c0f5 commit 3e8c7af
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
java: [ '11', '17' ]
java: [ '11', '17', '21' ]
steps:
- uses: actions/checkout@v2.3.4

- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
Expand Down
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<version.logcaptor>2.9.0</version.logcaptor>
<version.mockito>5.5.0</version.mockito>
<version.ssl-server>1.0.5</version.ssl-server>
<version.byte-buddy>1.14.8</version.byte-buddy>
<version.jacoco-maven-plugin>0.8.10</version.jacoco-maven-plugin>
<version.maven-surefire-plugin>3.1.2</version.maven-surefire-plugin>
<version.maven-fail-safe>3.1.2</version.maven-fail-safe>
Expand Down Expand Up @@ -127,6 +128,18 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${version.byte-buddy}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${version.byte-buddy}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit 3e8c7af

Please sign in to comment.