From 097d9e88306304be531ea598c5e426698feadd93 Mon Sep 17 00:00:00 2001 From: Jose Luis Leon Date: Sun, 10 Nov 2024 21:36:07 -0500 Subject: [PATCH] chore(ci): Java version matrix (#135) --- .github/workflows/ci.yml | 5 ++++- .github/workflows/codeql.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c0a782..9c1a3fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,16 @@ concurrency: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java: [17, 21, 23] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: oracle - java-version: 22 + java-version: ${{ matrix.java }} check-latest: true - uses: gradle/actions/setup-gradle@v4 - uses: gradle/actions/wrapper-validation@v4 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ec1dae1..e2bab20 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: oracle - java-version: 22 + java-version: 23 check-latest: true - uses: gradle/actions/setup-gradle@v4 - uses: gradle/actions/wrapper-validation@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3096d14..658b2f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: oracle - java-version: 22 + java-version: 23 check-latest: true - uses: gradle/actions/setup-gradle@v4 - uses: gradle/actions/wrapper-validation@v4