Merge pull request #600 from osu-tournament-rating/refactor/data-parser #327
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: Qodana PR Scan | |
# Trigger on PRs and pushes to master | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
qodana: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
checks: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} # Check out PR head or the push commit | |
fetch-depth: 0 # Full history for analysis | |
- name: 'Qodana Scan' | |
uses: JetBrains/[email protected] | |
with: | |
args: --linter,jetbrains/qodana-dotnet:2024.2 | |
use-caches: true | |
post-pr-comment: false | |
pr-mode: ${{ github.event_name == 'pull_request' }} | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | |
QODANA_ENDPOINT: 'https://qodana.cloud' |