Skip to content

add Qodana static code analysis #13

add Qodana static code analysis

add Qodana static code analysis #13

name: Qodana
on:
workflow_dispatch:
push:
branches:
- main
- 'fix/*'
- 'feature/*'
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
-
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
-
name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
-
name: 'Qodana Scan'
uses: jetbrains/[email protected]
with:
pr-mode: 'false'
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}