We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe419a2 commit 13b102dCopy full SHA for 13b102d
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,31 @@
1
+name: Maven Test
2
+
3
+on:
4
+ push:
5
+ branches: [ main, develop ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up JDK 21
18
+ uses: actions/setup-java@v4
19
+ with:
20
+ java-version: '21'
21
+ distribution: 'temurin'
22
23
+ - name: Cache Maven dependencies
24
+ uses: actions/cache@v3
25
26
+ path: ~/.m2
27
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: ${{ runner.os }}-m2
29
30
+ - name: Run tests
31
+ run: mvn clean test
0 commit comments