Update actions/checkout action to v4.2.2 #408
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: Verify | |
on: | |
release: | |
types: | |
- published | |
push: | |
pull_request: | |
types: [ opened, ready_for_review, synchronize ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: "Verify Gradle" | |
steps: | |
- uses: actions/[email protected] | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 21 | |
- name: Check licence | |
run: ./gradlew spotlessCheck | |
- name: Build with Gradle | |
run: ./gradlew --build-cache build | |
- name: Test with Gradle | |
run: ./gradlew test |