name: Service CI on: [push] jobs: build: runs-on: ubuntu-latest container: ubuntu:22.04 steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 - name: Set up JDK 17 uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3.6.0 with: distribution: 'temurin' java-version: 17 cache: 'maven' env: # work around an issue with actions/runner setting an incorrect HOME in containers, which breaks maven caching # https://github.com/actions/setup-java/issues/356 HOME: /root - name: Build with Maven run: ./mvnw -e -B verify