File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,24 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v3
17
+
17
18
- name : Set up JDK 17
18
19
uses : actions/setup-java@v3
19
20
with :
20
21
distribution : ' zulu'
21
- java-version : 17
22
- cache : ' maven'
23
- - name : Build with Maven
24
- run : ./mvnw -B clean verify coveralls:report -DrepoToken=${{ secrets.COVERALLS_REPO_TOKEN }}
22
+ java-version : ' 17'
23
+ cache : maven
24
+
25
+ - name : Build Package and install local with Maven
26
+ run : mvn --batch-mode --update-snapshots install -Dmaven.test.skip -Dmutation.skip=true
27
+
28
+ - name : Cache local Maven repository
29
+ uses : actions/cache@v3
30
+ with :
31
+ path : ~/.m2/repository
32
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-maven-
35
+
36
+ - name : Run Tests
37
+ run : mvn --batch-mode verify coveralls:report -DrepoToken=${{ secrets.COVERALLS_REPO_TOKEN }}
You can’t perform that action at this time.
0 commit comments