From cfec1e6de773045e58193e8d82458e50a899e589 Mon Sep 17 00:00:00 2001 From: Lucius Bachmann Date: Thu, 20 Jul 2023 18:16:16 +0200 Subject: [PATCH] testing: update dependencies And add support for java 17. --- .github/workflows/java-exercise.yml | 10 ++++++++-- topics/testing/code/pom.xml | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/java-exercise.yml b/.github/workflows/java-exercise.yml index 7c35c31..82f721b 100644 --- a/.github/workflows/java-exercise.yml +++ b/.github/workflows/java-exercise.yml @@ -5,13 +5,19 @@ on: jobs: java-exercise: runs-on: ubuntu-22.04 + strategy: + fail-fast: false + matrix: + java: + - '11' + - '17' steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: 'adopt' - java-version: '11' + distribution: 'temurin' + java-version: ${{ matrix.java }} - name: compile working-directory: topics/testing/code diff --git a/topics/testing/code/pom.xml b/topics/testing/code/pom.xml index f746b24..55db059 100644 --- a/topics/testing/code/pom.xml +++ b/topics/testing/code/pom.xml @@ -7,7 +7,7 @@ org.springframework.boot spring-boot-starter-parent - 2.5.1 + 2.7.13 @@ -36,7 +36,7 @@ org.springdoc springdoc-openapi-ui - 1.5.9 + 1.7.0 org.springframework.boot @@ -60,19 +60,19 @@ org.junit.jupiter junit-jupiter-api - 5.8.0-M1 + 5.9.3 test org.junit.jupiter junit-jupiter-engine - 5.8.0-M1 + 5.9.3 test org.junit.jupiter junit-jupiter - 5.8.0-M1 + 5.9.3 test @@ -85,7 +85,7 @@ io.projectreactor reactor-test test - 3.4.6 + 3.5.8 org.springframework.boot @@ -104,19 +104,19 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.11.0 org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 + 3.1.2 org.apache.maven.plugins maven-failsafe-plugin - 2.22.2 + 3.1.2 1 false @@ -126,7 +126,7 @@ com.diffplug.spotless spotless-maven-plugin - 2.12.0 + 2.37.0 @@ -139,7 +139,7 @@ org.apache.maven.plugins maven-pmd-plugin - 3.14.0 + 3.21.0 false