Add initial support for Qodana

This commit is contained in:
Archi
2023-02-08 20:57:36 +01:00
parent d3490b4e92
commit 06e10fa32a
4 changed files with 43 additions and 2 deletions

25
.github/workflows/code-quality.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: ASF-code-quality
on: [push, pull_request]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.3.0
- name: Run Qodana scan
uses: JetBrains/qodana-action@v2022.3.3
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- name: Report Qodana results to GitHub
uses: github/codeql-action/upload-sarif@v2.2.2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json