Update groovy monorepo to v4.0.22 #237
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CI Builds' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
check-gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: 'Init Gradle Build Action' | |
uses: gradle/gradle-build-action@v3 | |
with: | |
# cache options only count for the first invocation | |
cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
arguments: --version | |
- name: 'Check Spock' | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: check | |
check-maven: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: test-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
test-${{ runner.os }}-maven- | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: 'Check Spock' | |
run: | | |
./mvnw -V -B verify |