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:
parent
e729ffcd41
commit
f39c19fb5c
|
|
@ -50,8 +50,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# Enable PR-specific reporting only for pull_request events
|
# Enable PR-specific reporting only for pull_request events
|
||||||
pr-mode: ${{ github.event_name == 'pull_request' }}
|
pr-mode: ${{ github.event_name == 'pull_request' }}
|
||||||
# Pass the linter image via args (the action does not support an `image` input)
|
# No extra args needed; linter is defined in qodana.yaml (qodana-jvm)
|
||||||
args: --image jetbrains/qodana-jvm:2025.2
|
|
||||||
env:
|
env:
|
||||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }}
|
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }}
|
||||||
QODANA_ENDPOINT: 'https://qodana.cloud'
|
QODANA_ENDPOINT: 'https://qodana.cloud'
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
|
||||||
version: "1.0"
|
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:
|
profile:
|
||||||
name: qodana.recommended
|
name: qodana.recommended
|
||||||
bootstrap: |
|
bootstrap: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue