ArchiSteamFarm/.github/workflows/code-quality.yml
2023-09-04 19:19:48 +02:00

29 lines
664 B
YAML

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@v4.0.0
with:
show-progress: false
- name: Run Qodana scan
uses: JetBrains/qodana-action@v2023.2.6
with:
args: --property=idea.headless.enable.statistics=false
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- name: Report Qodana results to GitHub
uses: github/codeql-action/upload-sarif@v2.21.5
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json