ci: adopt golangci-lint v2#41
Open
muff1nman wants to merge 1 commit into
Open
Conversation
2618200 to
9d1273a
Compare
Update golangci-lint to unblock CI, since golangci-lint-action v6 installs the v1-era v1.64.8 binary that rejects a v2 config; v9 installs a v2 binary that understands it. Align .golangci.yml with the Service Automation shared baseline (v2 defaults plus the team exclusion presets) so this repo lints consistently with the rest of our in-house services. Reviewed-by: Andrew DeMaria
9d1273a to
5ab6d03
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v2 is the current major release with an improved config schema and linter set; moving the config onto it keeps us on the maintained line. It also unblocks CI, since golangci-lint-action installs the latest release and v2 cannot load the old v1 config format.