Skip to content

Setup Qodana code analysis #4

Setup Qodana code analysis

Setup Qodana code analysis #4

Workflow file for this run

name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches: [ main ]
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json