.NET ⑨ (strongest version) (#3244) #4034
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: ASF-code-quality | |
on: | |
- push | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_NOLOGO: true | |
permissions: | |
checks: write | |
contents: write | |
pull-requests: write | |
security-events: write | |
jobs: | |
main: | |
environment: qa-qodana | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Run Qodana scan | |
uses: JetBrains/[email protected] | |
with: | |
args: --config,.github/qodana.yaml,--property=idea.headless.enable.statistics=false | |
pr-mode: false | |
upload-result: true | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | |
- name: Report Qodana results to GitHub | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json |