From 194594f2309360465ea60ca5ab20408fec49b5de Mon Sep 17 00:00:00 2001 From: Darren Kelly Date: Wed, 20 Dec 2023 16:46:00 +0000 Subject: [PATCH] test qodana --- .github/workflows/qodana_code_quality.yml | 20 ++++++++++++++++++++ qodana.yaml | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/qodana_code_quality.yml create mode 100644 qodana.yaml diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml new file mode 100644 index 000000000..4ad9fc046 --- /dev/null +++ b/.github/workflows/qodana_code_quality.yml @@ -0,0 +1,20 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + - static-code-analysis + +jobs: + qodana: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2023.3 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} \ No newline at end of file diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 000000000..8d8e0bbb6 --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,2 @@ +version: "1.0" +linter: jetbrains/qodana-go:2023.3