Upgrade to actions/checkout v6 #48
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
| # Build CI workflow | |
| name: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| # Allows to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| # Validate wrapper to prevent potential supply chain attack | |
| gradle-wrapper-validation: | |
| runs-on: ubuntu-latest | |
| name: Validate Gradle wrapper | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: gradle/actions/wrapper-validation@v5 | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Java build | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # Set JDK | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| # Build | |
| - name: Build with Gradle | |
| run: ./gradlew build |