From 93d84d2ee32adc88fc655ec9380ed822aaac9bfc Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Thu, 29 Feb 2024 11:52:17 -0600 Subject: [PATCH 1/2] Require Java 8+ --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a2d82a0..268e7c0 100644 --- a/pom.xml +++ b/pom.xml @@ -162,10 +162,10 @@ org.apache.maven.plugins maven-compiler-plugin 3.7.0 - + - 1.7 - 1.7 + 1.8 + 1.8 From 63a3d0b5f839ba91160a47ddb4bca814af0f4fa2 Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Thu, 29 Feb 2024 11:52:25 -0600 Subject: [PATCH 2/2] Add JDK 21 to build matrix ...and update actions versions to latest. --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0d9d346..2015ac4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,15 +13,15 @@ jobs: build: strategy: matrix: - java: [8, 11, 17] + java: [8, 11, 17, 21] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} env: maven_commands: install # default is install steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: 'zulu'