mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
27 lines
623 B
YAML
27 lines
623 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@v3.6.0
|
|
|
|
- name: Run Qodana scan
|
|
uses: JetBrains/qodana-action@v2023.2.1
|
|
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.4
|
|
with:
|
|
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
|