diff --git a/.build-jdk17 b/.build-jdk17 deleted file mode 100644 index e69de29bb..000000000 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b957b071..10338025d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 17 ] + java: [ 17, 21, 25 ] name: jdk-${{ matrix.java }} steps: - uses: actions/checkout@v3 @@ -16,9 +16,19 @@ jobs: - uses: actions/setup-java@v3 with: distribution: "temurin" - java-version: ${{ matrix.java }} + # The JDK listed last will be the default and what Maven runs with + # https://github.com/marketplace/actions/setup-java-jdk#install-multiple-jdks + java-version: | + ${{ matrix.java }} + 25 cache: "maven" - name: "Build" - run: mvn --batch-mode -no-transfer-progress -V verify + run: | + mvn \ + --batch-mode \ + -no-transfer-progress \ + -V \ + -Dproject.build.jdk.version=${{ matrix.java }} \ + verify env: JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED diff --git a/pom.xml b/pom.xml index 5bd94e37f..98aec544c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.hubspot basepom - 63.4 + 65.1 com.hubspot.jinjava @@ -17,12 +17,12 @@ 17 - 17 0.8.3 3.0.1 1.9 1.5 + 5.20.0 @@ -181,6 +181,10 @@ ch.obermuhlner big-math + + com.google.errorprone + error_prone_annotations + ch.qos.logback @@ -336,6 +340,18 @@ @{argLine} ${basepom.test.add.opens} + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.immutables + value + + + +