Use conditional logic to select the error message for an unmatched identifier based on whether it was a case-insensitive match #571
Workflow file for this run
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: Check PR | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
permissions: | |
checks: write | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run Gradle Build | |
working-directory: ./Src/java | |
run: ./gradlew check -x spotlessCheck | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: (success() || failure()) && matrix.os == 'ubuntu-latest' | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
job_name: "Check PR" | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
if: matrix.os == 'ubuntu-latest' | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |