We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbd08af commit 955fb00Copy full SHA for 955fb00
.github/workflows/maven-tests.yml
.github/workflows/tests.yml
@@ -0,0 +1,35 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+ pull_request:
9
10
11
12
+jobs:
13
+ build_and_test:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v2
19
20
+ - name: Set up JDK 1.8
21
+ uses: actions/setup-java@v1
22
+ with:
23
+ java-version: 1.8
24
25
+ - name: Cache Maven packages
26
+ uses: actions/cache@v2
27
28
+ path: ~/.m2
29
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30
+ restore-keys: ${{ runner.os }}-m2
31
32
+ - name: Build and test with Maven
33
+ run: mvn -B verify --file pom.xml
34
35
0 commit comments