From e2a9d8155949edb4ae205b1659af1618d3d83da3 Mon Sep 17 00:00:00 2001 From: Brian Harrington Date: Thu, 10 Oct 2024 17:55:32 -0500 Subject: [PATCH] add jdk23 to PR validation --- .github/workflows/pr.yml | 7 +++++++ build.gradle | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 661092573..d5f2751ad 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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: diff --git a/build.gradle b/build.gradle index 1b1996533..715514fe0 100755 --- a/build.gradle +++ b/build.gradle @@ -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'