We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd21b23 commit 80dfb3eCopy full SHA for 80dfb3e
.github/workflows/test.yml
@@ -0,0 +1,30 @@
1
+name: Build/test
2
+
3
+on: [push]
4
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ distribution: [ 'zulu', 'adopt' ]
11
+ java: [8, 11, 13, 15]
12
+ fail-fast: false
13
+ name: JDK ${{ matrix.java }} (${{ matrix.distribution }})
14
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up JDK
18
+ uses: actions/setup-java@v2
19
+ with:
20
+ distribution: ${{ matrix.distribution }}
21
+ java-version: ${{ matrix.java }}
22
+ - name: Cache local Maven repository
23
+ uses: actions/cache@v2
24
25
+ path: ~/.m2/repository
26
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27
+ restore-keys: |
28
+ ${{ runner.os }}-maven-
29
+ - name: Test with Maven
30
+ run: mvn verify -B --file pom.xml
0 commit comments