Skip to content

Commit

Permalink
CI and tests all the way to JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Jan 2, 2024
1 parent ab46542 commit 2ccb23c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 19
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand All @@ -60,7 +60,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand All @@ -81,7 +81,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 19
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand Down
2 changes: 1 addition & 1 deletion retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

// Create a test task for each supported JDK.
(8..19).each { majorVersion ->
(8..21).each { majorVersion ->
def jdkTest = tasks.register("testJdk$majorVersion", Test) {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(majorVersion)
Expand Down

0 comments on commit 2ccb23c

Please sign in to comment.