Skip to content

Commit

Permalink
Address GH actions failure
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmarty committed Nov 5, 2024
1 parent ffa5303 commit 2acb091
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
java-version: '21'
distribution: 'corretto'
cache: maven
- name: Maven version
run: mvn --version
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn clean package
- name: Codecov
uses: codecov/[email protected]
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<goals>
Expand All @@ -183,6 +184,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration>
Expand Down

0 comments on commit 2acb091

Please sign in to comment.