ArchiSteamFarm/.github/workflows/code-quality.yml
2023-10-13 16:10:15 +00: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.1.0
with:
show-progress: false
- name: Run Qodana scan
uses: JetBrains/qodana-action@v2023.2.8
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.22.3
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json