Refine Qodana config and workflow: improve bootstrap logic and pass linter image via args

- Updated bootstrap step to support POSIX `sh` compatibility and refine Maven fallback logic.
- Replaced deprecated `image` input with `args` to pass the linter image in the workflow.
This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-11-29 04:17:12 -03:00
parent c6111980f5
commit e729ffcd41
2 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ jobs:
with:
# Enable PR-specific reporting only for pull_request events
pr-mode: ${{ github.event_name == 'pull_request' }}
# Explicitly set the linter image to match qodana.yaml and silence warnings
image: jetbrains/qodana-jvm:2025.2
# Pass the linter image via args (the action does not support an `image` input)
args: --image jetbrains/qodana-jvm:2025.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }}
QODANA_ENDPOINT: 'https://qodana.cloud'