diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml new file mode 100644 index 0000000..2bfb95f --- /dev/null +++ b/.github/workflows/qodana.yml @@ -0,0 +1,18 @@ +name: Code Scan +on: + workflow_dispatch: + pull_request: + branches: [ "dev" ] + +jobs: + qodana: + runs-on: ubuntu-latest + environment: Analysis + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2023.2 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}