chore(deps): update github/codeql-action action to v3.28.4
[ArchiSteamFarm.git] / .github / workflows / code-quality.yml
blobd1ab5420f2e255d12c714b3ade585e4af46c7907
1 name: ASF-code-quality
3 on:
4   - push
6 env:
7   DOTNET_CLI_TELEMETRY_OPTOUT: true
8   DOTNET_NOLOGO: true
10 permissions:
11   checks: write
12   contents: write
13   pull-requests: write
14   security-events: write
16 jobs:
17   main:
18     environment: qa-qodana
19     runs-on: ubuntu-latest
21     steps:
22     - name: Checkout code
23       uses: actions/checkout@v4.2.2
24       with:
25         show-progress: false
27     - name: Run Qodana scan
28       uses: JetBrains/qodana-action@v2024.3.4
29       with:
30         args: --config,.github/qodana.yaml,--property=idea.headless.enable.statistics=false
31         pr-mode: false
32         upload-result: true
33       env:
34         QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
36     - name: Report Qodana results to GitHub
37       uses: github/codeql-action/upload-sarif@v3.28.4
38       with:
39         sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json