We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64cbdd3 + 669f149 commit f9df897Copy full SHA for f9df897
.github/workflows/tests.yml
@@ -0,0 +1,29 @@
1
+name: Maven java tests
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up JDK 21
16
+ uses: actions/setup-java@v4
17
+ with:
18
+ java-version: '21'
19
+ distribution: 'temurin'
20
+ cache: maven
21
22
+ - name: Build with Maven
23
+ run: mvn -B package --file pom.xml
24
25
+ - name: Run tests
26
+ run: mvn test
27
28
+ - name: Update dependency graph
29
+ uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
0 commit comments