Skip to content

Commit

Permalink
drop EOL Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Nov 12, 2023
1 parent 83816fa commit a964f55
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ jobs:
OC_OKAPI_DE_CONSUMER_KEY: REPLACE_ME
OC_OKAPI_DE_CONSUMER_SECRET: REPLACE_ME

# Run compilation tests using the OpenJDK.
# Run compilation tests.
# EOL: https://adoptium.net/support/ and https://endoflife.date/oracle-jdk
# The format checker requires at least Java 11, while the other ones are more recent.
# Please note that we still support Java versions starting with Java 8, but we cannot compile our
# code with Java 8 as they miss the newer APIs we reference inside the `Compatibility.java` file.
strategy:
matrix:
java: [11, 16, 17, 18, 19, 20, GA]
java: [11, 17, 21, GA]
# Make sure to always run for all Java versions to sort out possible incompatibilities.
# Example: Gradle might not yet support the GA/EA releases, as indicated by
# https://docs.gradle.org/current/userguide/compatibility.html
fail-fast: false

# Use a better name.
name: Linux Build with Java ${{ matrix.java }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ jobs:
OC_OKAPI_DE_CONSUMER_KEY: ${{ secrets.OC_OKAPI_DE_CONSUMER_KEY }}
OC_OKAPI_DE_CONSUMER_SECRET: ${{ secrets.OC_OKAPI_DE_CONSUMER_SECRET }}

# Run compilation tests using the OpenJDK in version 11 and 14 to 18.
# Run compilation tests.
# EOL: https://adoptium.net/support/ and https://endoflife.date/oracle-jdk
# The format checker requires at least Java 11, while the other ones are more recent.
# Please note that we still support Java versions starting with Java 8, but we cannot compile our
# code with Java 8 as they miss the newer APIs we reference inside the `Compatibility.java` file.
strategy:
matrix:
java: [11, 16, 17, 18, 19, 20, GA]
java: [11, 17, 21, GA]
# Make sure to always run for all Java versions to sort out possible incompatibilities.
# Example: Gradle does not yet support the GA/EA releases, as indicated by
# Example: Gradle might not yet support the GA/EA releases, as indicated by
# https://docs.gradle.org/current/userguide/compatibility.html
fail-fast: false

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ jobs:
OC_OKAPI_DE_CONSUMER_KEY: ${{ secrets.OC_OKAPI_DE_CONSUMER_KEY }}
OC_OKAPI_DE_CONSUMER_SECRET: ${{ secrets.OC_OKAPI_DE_CONSUMER_SECRET }}

# Run compilation tests using the OpenJDK.
# Run compilation tests.
# EOL: https://adoptium.net/support/ and https://endoflife.date/oracle-jdk
# The format checker requires at least Java 11, while the other ones are more recent.
# Please note that we still support Java versions starting with Java 8, but we cannot compile our
# code with Java 8 as they miss the newer APIs we reference inside the `Compatibility.java` file.
strategy:
matrix:
java: [11, 16, 17, 18, 19, 20, GA]
java: [11, 17, 21, GA]
# Make sure to always run for all Java versions to sort out possible incompatibilities.
# Example: Gradle might not yet support the GA/EA releases, as indicated by
# https://docs.gradle.org/current/userguide/compatibility.html
fail-fast: false

# Use a better name.
name: Linux Build with Java ${{ matrix.java }}
Expand Down

0 comments on commit a964f55

Please sign in to comment.