From ee174cd5cdf8f12a3cc2f86ea2cdbc99e1a353e2 Mon Sep 17 00:00:00 2001 From: Andrew Rouse Date: Mon, 17 Jun 2024 16:17:02 +0100 Subject: [PATCH 1/2] Update to microprofile-parent 2.9-RC2 This requires Java 17 to build. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fb701d51..de352fc1 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ org.eclipse.microprofile microprofile-parent - 2.9-RC1 + 2.9-RC2 org.eclipse.microprofile.openapi From 082c6072fe5eb67c5e7a1187aa67db285db8144b Mon Sep 17 00:00:00 2001 From: Andrew Rouse Date: Mon, 17 Jun 2024 16:29:47 +0100 Subject: [PATCH 2/2] Update CI workflow to use Java 17 & 21 Maven plugins used in the build now require Java 17. We still target Java 11 for our output. Also update the actions used to the latest version. --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e547c8d4..7a058194 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [11, 17] + java: [17, 21] name: build with jdk ${{matrix.java}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 name: checkout - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 name: set up jdk ${{matrix.java}} with: java-version: ${{matrix.java}}