Skip to content

Commit 7aada98

Browse files
committed
Fix GitHub workflow
1 parent 0136473 commit 7aada98

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

.github/workflows/workflows.yaml

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

0 commit comments

Comments
 (0)