Skip to content

Commit 8083d18

Browse files
committed
Update GitHub workflow
1 parent 54b6db3 commit 8083d18

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/workflows.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: Tests
22

3-
on: [ push ]
3+
on:
4+
push:
5+
workflow_dispatch:
46

57
jobs:
68
tests:
79
runs-on: ubuntu-latest
810
strategy:
911
matrix:
10-
java: [ 8, 11 ]
12+
java:
13+
- 17
1114

1215
steps:
1316
- uses: actions/checkout@v2
@@ -31,6 +34,10 @@ jobs:
3134

3235
steps:
3336
- uses: actions/checkout@v2
37+
- name: Set up JDK
38+
uses: actions/setup-java@v1
39+
with:
40+
java-version: 17
3441
- name: Run Dependency Check
3542
run: mvn -Powasp-dependency-check verify -DskipTests
3643
- name: Archive code coverage results

0 commit comments

Comments
 (0)