mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
39 lines
855 B
YAML
39 lines
855 B
YAML
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/checkout@v4.1.6
|
|
with:
|
|
show-progress: false
|
|
|
|
- name: Run Qodana scan
|
|
uses: JetBrains/qodana-action@v2024.1.5
|
|
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/upload-sarif@v3.25.8
|
|
with:
|
|
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
|