From eeaf3b5a84cbcf29a3c8972f75db60716c3762e9 Mon Sep 17 00:00:00 2001 From: Simon Marty Date: Fri, 29 May 2026 12:46:45 -0700 Subject: [PATCH 1/3] Matrix build on Java LTS versions --- .github/workflows/CI.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 60e931f..a79198e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,15 +16,18 @@ permissions: jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + java: ['8', '11', '17', '21', '25'] steps: - uses: actions/checkout@v6 - - name: Set up JDK 17 + - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v5 with: - java-version: 17 + java-version: ${{ matrix.java }} distribution: corretto + cache: 'maven' - name: Build with Maven run: mvn --batch-mode --update-snapshots package From 1b740c2e0477e0e923a7dc4e7df1d317ea6b14b2 Mon Sep 17 00:00:00 2001 From: Simon Marty Date: Fri, 29 May 2026 12:49:09 -0700 Subject: [PATCH 2/3] No fail fast, remove Java 8 since dev dependencies require Java 11. Signed-off-by: Simon Marty --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a79198e..69a4961 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,8 +17,9 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - java: ['8', '11', '17', '21', '25'] + java: ['11', '17', '21', '25'] steps: - uses: actions/checkout@v6 From e74dd581716c56f3b8fee0bb6491f8da0d88d68d Mon Sep 17 00:00:00 2001 From: Simon Marty Date: Fri, 29 May 2026 12:50:51 -0700 Subject: [PATCH 3/3] Remove Java 11 since it's unsupported by Junit 6. Signed-off-by: Simon Marty --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 69a4961..5437c03 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - java: ['11', '17', '21', '25'] + java: ['17', '21', '25'] steps: - uses: actions/checkout@v6