Skip to content

Commit acdf6cd

Browse files
committed
Update GitHub workflow
1 parent 54b6db3 commit acdf6cd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/workflows.yaml

Lines changed: 11 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
@@ -21,6 +24,8 @@ jobs:
2124
path: ~/.m2
2225
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2326
restore-keys: ${{ runner.os }}-m2
27+
- name: Setup Docker
28+
run: sudo apt-get -qq -y install conntrack socat ; nohup socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &
2429
- name: Build with Maven
2530
run: mvn -U clean install -DskipTests
2631
- name: Run Tests
@@ -31,6 +36,10 @@ jobs:
3136

3237
steps:
3338
- uses: actions/checkout@v2
39+
- name: Set up JDK
40+
uses: actions/setup-java@v1
41+
with:
42+
java-version: 17
3443
- name: Run Dependency Check
3544
run: mvn -Powasp-dependency-check verify -DskipTests
3645
- name: Archive code coverage results

0 commit comments

Comments
 (0)