From 51f0b467c70d1c3cd6f2e19b342219a8ec057a62 Mon Sep 17 00:00:00 2001 From: Qodana Application Date: Wed, 14 Jan 2026 16:09:17 +0000 Subject: [PATCH 1/3] Add qodana.yaml file --- qodana.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 qodana.yaml diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000..fdeccb7 --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,10 @@ +#################################################################################################################### +# WARNING: Do not store sensitive information in this file, as its contents will be included in the Qodana report. # +#################################################################################################################### + +version: "1.0" +linter: jetbrains/qodana-go:2025.2 +profile: + name: qodana.recommended +include: + - name: CheckDependencyLicenses \ No newline at end of file From c085ba764774782225e1c5520d2aadd1f9c39054 Mon Sep 17 00:00:00 2001 From: Qodana Application Date: Wed, 14 Jan 2026 16:09:18 +0000 Subject: [PATCH 2/3] Add github workflow file --- .github/workflows/qodana_code_quality.yml | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/qodana_code_quality.yml diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml new file mode 100644 index 0000000..eb0e563 --- /dev/null +++ b/.github/workflows/qodana_code_quality.yml @@ -0,0 +1,28 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: # Specify your branches here + - main # The 'main' branch + - 'releases/*' # The release branches + +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 }} # to check out the actual pull request commit, not the merge commit + fetch-depth: 0 # a full history is required for pull request analysis + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2025.2 + with: + pr-mode: false + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_444905798 }} + QODANA_ENDPOINT: 'https://qodana.cloud' \ No newline at end of file From ffb590558aef96e2df16de86603715f7fe4e71a8 Mon Sep 17 00:00:00 2001 From: Gonzalo Marcote Date: Wed, 14 Jan 2026 17:10:50 +0100 Subject: [PATCH 3/3] Using GO scan linter --- qodana.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index fdeccb7..77d570f 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -3,8 +3,18 @@ #################################################################################################################### version: "1.0" + +# Use GO scan linter linter: jetbrains/qodana-go:2025.2 + +# Use recommended inspection profile profile: name: qodana.recommended + +# Enable license checks and specific Docker inspections include: - - name: CheckDependencyLicenses \ No newline at end of file + - name: CheckDependencyLicenses + - name: DockerfileOptimization + - name: DockerfilePostInstallClean + - name: DockerfileMissingCommand + - name: DockerfileMiddleInstruction