⬆️ Update qodana
to the v2023.2.7
#27
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: 'gradle' | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- 'orb/**' | |
- 'scan/**' | |
- 'vsts/**' | |
- 'common/**' | |
- 'action.yaml' | |
- 'package.json' | |
- 'package-lock.json' | |
- 'tsconfig.json' | |
- 'tsconfig.base.json' | |
- '.github/workflows/node.yml' | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
paths-ignore: | |
- 'orb/**' | |
- 'scan/**' | |
- 'vsts/**' | |
- 'common/**' | |
- 'action.yaml' | |
- 'package.json' | |
- 'package-lock.json' | |
- 'tsconfig.json' | |
- 'tsconfig.base.json' | |
- '.github/workflows/node.yml' | |
jobs: | |
gradleValidation: | |
name: gradle-wrapper | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
gradle-test: | |
name: gradle-test | |
needs: gradleValidation | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
gradleVersion: | |
- 6.8 | |
- 6.9.2 | |
- 7.6.2 | |
- 8.3 | |
os: | |
- windows-latest | |
- ubuntu-latest | |
- macos-latest | |
steps: | |
- name: Fetch sources | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
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@v3 | |
with: | |
name: test-results-${{ matrix.gradleVersion }}-${{ runner.os }} | |
path: ${{ github.workspace }}/build/reports/tests |