File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ 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 }}
2121 - name : Cache Maven packages
22- uses : actions/cache@v2
22+ uses : actions/cache@v4
2323 with :
2424 path : ~/.m2
2525 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3232 run : mvn -U clean install -DskipTests
3333 - name : Run Tests
3434 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