diff --git a/.github/workflows/qodana-code-quality.yml b/.github/workflows/qodana-code-quality.yml new file mode 100644 index 0000000..9520a9b --- /dev/null +++ b/.github/workflows/qodana-code-quality.yml @@ -0,0 +1,23 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + - 'releases/*' + +jobs: + qodana: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2022.3.2 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} + - uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json