github.com/jaylevin/jenkins-library@v1.230.4/.github/workflows/verify-groovy.yml (about) 1 name: Groovy 2 3 on: 4 push: 5 branches: 6 - master 7 pull_request: 8 branches: 9 - master 10 11 jobs: 12 unit: 13 runs-on: ubuntu-latest 14 steps: 15 16 - uses: actions/checkout@v2 17 18 - uses: actions/setup-java@v1 19 with: 20 java-version: 1.8 21 22 - name: Cache Maven Packages 23 uses: actions/cache@v1 24 with: 25 path: ~/.m2/repository 26 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} 27 restore-keys: | 28 ${{ runner.os }}-maven- 29 30 - name: unit-test 31 run: mvn --batch-mode clean verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn