Update actions/checkout action to v4 #323
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 state | |
on: | |
push: | |
pull_request: | |
types: [opened, ready_for_review, review_requested, edited] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: 17 | |
- name: Build with Gradle | |
run: ./gradlew --build-cache build | |
- name: Test with Gradle | |
run: ./gradlew test |