File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: The Storage-Units Authors
2+ # SPDX-License-Identifier: 0BSD
3+
4+ name : Verify Commits
5+ on :
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ branches : [ main ]
10+ env :
11+ JAVA_VERSION : 17
12+ JAVA_PACKAGE : jdk
13+ JAVA_ARCH : x64
14+ JAVA_DISTRO : temurin
15+ jobs :
16+ build :
17+ name : Build Project
18+ runs-on : ubuntu-latest
19+ steps :
20+ - id : checkout
21+ name : Clone Git Repository
22+ uses : actions/checkout@v3
23+ - id : java
24+ name : Setup Java
25+ uses : actions/setup-java@v3
26+ with :
27+ java-version : ${{ env.JAVA_VERSION }}
28+ java-package : ${{ env.JAVA_PACKAGE }}
29+ architecture : ${{ env.JAVA_ARCH }}
30+ distribution : ${{ env.JAVA_DISTRO }}
31+ - id : cache
32+ name : Cache Maven Repository
33+ uses : actions/cache@v3
34+ with :
35+ path : ~/.m2/repository
36+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
37+ restore-keys : |
38+ ${{ runner.os }}-maven-
39+ - id : maven
40+ name : Maven Verify
41+ run : mvn --batch-mode verify
You can’t perform that action at this time.
0 commit comments