Skip to content

Commit

Permalink
testing: update dependencies
Browse files Browse the repository at this point in the history
And add support for java 17.
  • Loading branch information
BacLuc committed Jul 21, 2023
1 parent 178b61c commit 563a958
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/java-exercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions topics/testing/code/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.1</version>
<version>2.7.13</version>
<relativePath/>
</parent>

Expand Down Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.5.9</version>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -60,19 +60,19 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.0-M1</version>
<version>5.9.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.8.0-M1</version>
<version>5.9.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.8.0-M1</version>
<version>5.9.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -85,7 +85,7 @@
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
<version>3.4.6</version>
<version>3.5.8</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -104,19 +104,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.1.2</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
<version>3.1.2</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
Expand All @@ -126,7 +126,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.12.0</version>
<version>2.37.0</version>
<configuration>
<java>
<importOrder />
Expand All @@ -139,7 +139,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.14.0</version>
<version>3.21.0</version>
<configuration>
<linkXRef>false</linkXRef>
<rulesets>
Expand Down

0 comments on commit 563a958

Please sign in to comment.