Skip to content

Commit

Permalink
Use the same Qodana build pipeline as develop is using
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisdoomen committed Nov 9, 2024
1 parent c6cd85c commit 870ed33
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ on:
jobs:
qodana-scan:
name: Qodana Scan
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2
uses: JetBrains/qodana-action@v2024.2
with:
upload-result: ${{ github.ref_name == 'master' || github.ref_name == 'develop' }}
args: --baseline,qodana.sarif.json
args: --baseline,qodana.sarif.json,--ide,QDNET
pr-mode: ${{ github.event_name == 'pull_request_target' }}
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 comments on commit 870ed33

Please sign in to comment.