Update actions/checkout action to v5 #676
Workflow file for this run
This file contains hidden or 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/actions/wrapper-validation@v4 | |
| - 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 |