Skip to content

Commit 663c948

Browse files
committed
Fix GitHub workflow
1 parent 0136473 commit 663c948

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/workflows.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff 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') }}
@@ -32,20 +32,3 @@ jobs:
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

0 commit comments

Comments
 (0)