This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
Bump gradle/wrapper-validation-action from 1.0.4 to 1.1.0 #95
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: Build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
gradleValidation: | |
name: Gradle Wrapper | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v3 | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
codeInspection: | |
name: Code Inspection | |
needs: gradleValidation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v3 | |
- name: Qodana Scan | |
uses: JetBrains/[email protected] | |
test: | |
name: Test | |
needs: gradleValidation | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
gradleVersion: | |
- 6.6.1 | |
- 6.9.1 | |
- 7.3 | |
os: | |
- windows-latest | |
- ubuntu-latest | |
- macos-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: zulu | |
java-version: 11 | |
cache: gradle | |
- name: Run Linters and Test | |
run: ./gradlew test -PtestGradleVersion="${{ matrix.gradleVersion }}" | |
- name: Collect Test Results | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-results-${{ matrix.gradleVersion }}-${{ runner.os }} | |
path: ${{ github.workspace }}/build/reports/tests |