1 # SPDX-FileCopyrightText: The Storage-Units Authors
2 # SPDX-License-Identifier: 0BSD
18 runs-on: ubuntu-latest
22 uses: actions/checkout@v4
25 uses: actions/setup-java@v4
27 java-version: ${{ env.JAVA_VERSION }}
28 java-package: ${{ env.JAVA_PACKAGE }}
29 architecture: ${{ env.JAVA_ARCH }}
30 distribution: ${{ env.JAVA_DISTRO }}
32 name: Cache Maven Repository
33 uses: actions/cache@v3
35 path: ~/.m2/repository
36 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
38 ${{ runner.os }}-maven-
41 run: mvn --batch-mode verify