Update Qodana config and workflow: simplify linter configuration

- Removed `args` step from workflow; linter is now fully defined in `qodana.yaml` as `qodana-jvm`.
- Switched to canonical linter name in `qodana.yaml` to avoid image warnings and CLI issues.
This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2025-11-29 04:19:48 -03:00
parent e729ffcd41
commit f39c19fb5c
2 changed files with 3 additions and 3 deletions

View File

@ -50,8 +50,7 @@ jobs:
with:
# Enable PR-specific reporting only for pull_request events
pr-mode: ${{ github.event_name == 'pull_request' }}
# Pass the linter image via args (the action does not support an `image` input)
args: --image jetbrains/qodana-jvm:2025.2
# No extra args needed; linter is defined in qodana.yaml (qodana-jvm)
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }}
QODANA_ENDPOINT: 'https://qodana.cloud'

View File

@ -3,7 +3,8 @@
####################################################################################################################
version: "1.0"
linter: jetbrains/qodana-jvm:2025.2
# Use canonical linter name to avoid image warnings and CLI flag issues
linter: qodana-jvm
profile:
name: qodana.recommended
bootstrap: |