Skip to content

Add Java 21 testing, make Java 21 the default #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ jobs:
java-version: '17'
cache: 'gradle'

- name: Setup JDK 19
id: setup-java-19
- name: Setup JDK 21
id: setup-java-21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
java-version: '21'
cache: 'gradle'

- name: Set JAVA_HOME
run: echo "JAVA_HOME=${{ steps.setup-java-17.outputs.path }}" >> $GITHUB_ENV
run: echo "JAVA_HOME=${{ steps.setup-java-21.outputs.path }}" >> $GITHUB_ENV

- name: Setup gradle properties
run: |
cat .github/env/${{ runner.os }}/gradle.properties >> gradle.properties
echo >> gradle.properties
echo "org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-17.outputs.path }},${{ steps.setup-java-19.outputs.path }}" >> gradle.properties
echo "org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-17.outputs.path }},${{ steps.setup-java-21.outputs.path }}" >> gradle.properties
echo "customDoubleParser=${{ matrix.customDoubleParser }}" >> gradle.properties
cat gradle.properties

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'gradle'

- name: Set JAVA_HOME
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/groovy/io/deephaven/csv/Constants.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.deephaven.csv

class Constants {
public static int LATEST_LTS = 17
public static int LATEST_LTS = 21

public static int[] TEST_VERSIONS = [8, 11, 17, 19]
public static int[] TEST_VERSIONS = [8, 11, 17, 21]
}