Skip to content

Commit 2acb091

Browse files
committed
Address GH actions failure
1 parent ffa5303 commit 2acb091

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v3
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 21
20+
uses: actions/setup-java@v4
2121
with:
22-
java-version: '11'
23-
distribution: 'temurin'
22+
java-version: '21'
23+
distribution: 'corretto'
2424
cache: maven
25+
- name: Maven version
26+
run: mvn --version
2527
- name: Build with Maven
26-
run: mvn -B package --file pom.xml
28+
run: mvn clean package
2729
- name: Codecov
2830
uses: codecov/[email protected]

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
<plugin>
173173
<groupId>org.apache.maven.plugins</groupId>
174174
<artifactId>maven-dependency-plugin</artifactId>
175+
<version>3.8.1</version>
175176
<executions>
176177
<execution>
177178
<goals>
@@ -183,6 +184,7 @@
183184
<plugin>
184185
<groupId>org.apache.maven.plugins</groupId>
185186
<artifactId>maven-surefire-plugin</artifactId>
187+
<version>3.5.2</version>
186188
<configuration>
187189
<argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
188190
</configuration>

0 commit comments

Comments
 (0)