From 3e2f2a0c30657a2b1be2a2ea5b1cfeda5a6e3451 Mon Sep 17 00:00:00 2001 From: Zywl <86253343+opZywl@users.noreply.github.com> Date: Fri, 31 May 2024 19:18:48 -0300 Subject: [PATCH] chore: Qodana implementation workspace code analysis It can analyze code written in 60+ --- .github/workflows/code_quality.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/code_quality.yml diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml new file mode 100644 index 00000000000..0cfc929b600 --- /dev/null +++ b/.github/workflows/code_quality.yml @@ -0,0 +1,26 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - nextgen + - legacy + - 'releases/*' + +jobs: + qodana: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + checks: write + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2024.1 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}