From 17c93eacbca4e05d7ae21eb0b18a8dc745bbd32b Mon Sep 17 00:00:00 2001 From: Jeremy Norris Date: Mon, 13 Nov 2023 07:35:55 -0600 Subject: [PATCH] Add Java 21 to CI pipeline and also use it by default for building. --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/coverity.yml | 2 +- .github/workflows/javadoc.yml | 2 +- .github/workflows/maven.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 91aa6c1a..a9cd0a7b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '17' + java-version: '21' check-latest: true cache: 'maven' diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 6906b7c6..246e5967 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -12,7 +12,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '17' + java-version: '21' check-latest: true cache: 'maven' - uses: vapier/coverity-scan-action@v1 diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 314f8ec9..d4250399 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '17' + java-version: '21' check-latest: true - name: Build Javadoc run: mvn -B -V javadoc:javadoc --file pom.xml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d27a608b..48a9f8dd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['8', '11', '17'] + java: ['8', '11', '17', '21'] steps: - uses: actions/checkout@v4 - name: Cache local Maven repository @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '17' + java-version: '21' check-latest: true - name: Build with Maven run: mvn -B -V -DskipTests=true package --file pom.xml