mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
29 lines
664 B
YAML
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
|