File tree Expand file tree Collapse file tree 1 file changed +5
-21
lines changed
Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,17 @@ jobs:
1010 strategy :
1111 matrix :
1212 java :
13- - 17
13+ - 21
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up JDK
18- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v4
1919 with :
2020 java-version : ${{ matrix.java }}
21+ distribution : temurin
2122 - name : Cache Maven packages
22- uses : actions/cache@v2
23+ uses : actions/cache@v4
2324 with :
2425 path : ~/.m2
2526 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3233 run : mvn -U clean install -DskipTests
3334 - name : Run Tests
3435 run : mvn test
35-
36- dependency :
37- runs-on : ubuntu-latest
38-
39- steps :
40- - uses : actions/checkout@v2
41- - name : Set up JDK
42- uses : actions/setup-java@v1
43- with :
44- java-version : 17
45- - name : Run Dependency Check
46- run : mvn -Powasp-dependency-check verify -DskipTests
47- - name : Archive code coverage results
48- uses : actions/upload-artifact@v2
49- with :
50- name : dependency-check-report
51- path : target/dependency-check-report.html
You can’t perform that action at this time.
0 commit comments