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:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v3
17+
1718 - name : Set up JDK 17
1819 uses : actions/setup-java@v3
1920 with :
2021 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