From c01ef53fe77b7447767cbeabb8140e5b6cb99754 Mon Sep 17 00:00:00 2001 From: Carlos Roman Date: Wed, 25 Oct 2023 11:10:28 +0100 Subject: [PATCH 1/2] Updated CodeQL to use temurin + cleaned up build command --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3283c27b5..a689660b1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,16 +37,16 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: 'zulu' + distribution: 'temurin' java-version: '8' java-package: jdk - name: Build with Maven - run: ./mvnw clean compile assembly:single + run: ./mvnw --batch-mode --no-transfer-progress clean package -DskipTests=true - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 From 59ce85622a38dd5dfb15a0ffbbf0c88d1d2e8c8e Mon Sep 17 00:00:00 2001 From: Carlos Roman Date: Wed, 25 Oct 2023 11:09:14 +0100 Subject: [PATCH 2/2] Updated CI to use LTS versions of the JDK --- .circleci/config.yml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1dac557df..c1cc243af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,27 +17,43 @@ jobs: docker: - image: cimg/openjdk:8.0 <<: *lint_steps + + # JDK 8 (LTS) - 31 Dec 2030 (extended support) test_openjdk8: docker: - image: cimg/openjdk:8.0 <<: *build_steps + + # JDK 11 (LTS) - 31 Jan 2032 (extended support) test_openjdk11: docker: - image: cimg/openjdk:11.0 <<: *build_steps - test_openjdk15: - docker: - - image: cimg/openjdk:15.0 - <<: *build_steps + + # JDK 11 (LTS) - 30 Sep 2029 (extended support) test_openjdk17: docker: - image: cimg/openjdk:17.0 <<: *build_steps + + # Available in Ubuntu 22.04 + test_openjdk18: + docker: + - image: cimg/openjdk:18.0 + <<: *build_steps + + # Available in Ubuntu 22.04 test_openjdk19: docker: - image: cimg/openjdk:19.0 <<: *build_steps + # JDK 21 (LTS) - 30 Sep 2031 (extended support) + test_openjdk21: + docker: + - image: cimg/openjdk:21.0 + <<: *build_steps + workflows: version: 2 workflow: @@ -45,6 +61,7 @@ workflows: - lint_openjdk8 - test_openjdk8 - test_openjdk11 - - test_openjdk15 - test_openjdk17 + - test_openjdk18 - test_openjdk19 + - test_openjdk21