fix(ci): install golangci-lint manually and remove version field

The golangci-lint-action has compatibility issues with v2.1.6 (uses
--out-format flag which v2 doesn't support). Install golangci-lint manually
to avoid action limitations and remove version field from config to be
compatible with CI v1.64.8. Local v2.x will work but may show warnings.
This commit is contained in:
2025-11-05 13:36:24 +01:00
parent f9f4add257
commit ef54924137
2 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
# golangci-lint configuration
# See https://golangci-lint.run/usage/configuration/
# Note: CI uses v1.64.8 which doesn't support version: 2
# Local v2.x will work with this config but may show a deprecation warning
# Note: No version field - compatible with both v1.64.8 (CI) and v2.x (local)
# Local v2.x may show a deprecation warning but will work
run:
timeout: 5m