chore(deps): update actions/setup-java action to v5 #653
  
    
      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: "Pull request" | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| validation: | |
| name: "Gradle Wrapper Validation" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: gradle/wrapper-validation-action@v1 | |
| test: | |
| name: Test run | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| java: [ 11, 17 ] | |
| needs: validation | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: Gradle Check (non-Windows) | |
| if: matrix.os != 'windows-latest' | |
| run: ./gradlew --info check | |
| - name: Gradle Check (Windows) | |
| if: matrix.os == 'windows-latest' | |
| shell: cmd | |
| run: gradlew --info check |