Loading
Use golangci-lint directive for workflow deprecation warning
What does this MR do and why?
Problem
golangci-lint v2 ignored the native //lint:ignore SA1019 directive,
so the deprecated WorkflowDefinition warning remained active and was
masked by a stale acceptable-warning entry.
Solution
- Replace the ineffective directive with
//nolint:staticcheck. - Remove the redundant SA1019 entry from the acceptable-warnings file.
How to set up and validate locally
- Run
cd workhorse && make lint.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist.
Edited by Vasilii Iakliushin