Skip to content

Commit

Permalink
Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme committed Oct 20, 2024
1 parent 11f3bef commit 9b26ec7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/java-all-versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java 8, 11, 17, 21 CI
name: Java 21 CI

on: [push,pull_request]

Expand All @@ -8,24 +8,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDKs 8, 11, 17, 21
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
8
11
17
21
java-version: 21
- name: Build with Gradle
run: ./gradlew assemble
- name: Style check
run: ./gradlew checkstyleMain
- name: Test with Java 8
run: ./gradlew test -PtestOnJava=8 --stacktrace
- name: Test with Java 11
run: ./gradlew test -PtestOnJava=11 --stacktrace
- name: Test with Java 17
run: ./gradlew test -PtestOnJava=17 --stacktrace
- name: Test with Java 21
run: ./gradlew test -PtestOnJava=21 --stacktrace
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java 11 CI macOS (Apple)
name: Java 21 CI macOS (Apple)

on: [push,pull_request]

Expand All @@ -8,12 +8,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 21
- name: Build with Gradle
run: ./gradlew assemble
- name: Test with Gradle
run: ./gradlew test
run: ./gradlew test

0 comments on commit 9b26ec7

Please sign in to comment.