Skip to content

Commit

Permalink
add jdk23 to PR validation
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington committed Oct 10, 2024
1 parent 0dfab5a commit e2a9d81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
fetch-depth: 0
- name: Gradle wrapper validation
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 23
uses: actions/setup-java@v3
with:
java-version: 23
distribution: 'zulu'
cache: 'gradle'
- run: echo "JDK23=$JAVA_HOME" >> $GITHUB_ENV
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ subprojects {
useJUnitPlatform()
}

[17, 21].each { additionalJDK ->
[17, 21, 23].each { additionalJDK ->
def additionalTestTask = tasks.register("testJDK$additionalJDK", Test) {
description = "Runs tests against JDK $additionalJDK."
group = 'verification'
Expand Down

0 comments on commit e2a9d81

Please sign in to comment.