name: Tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' - name: Set up Gradle uses: gradle/actions/setup-gradle@v3 - name: Test run: './gradlew check'