Upgrade golangci-lint to v2.13.1 - #659
Merged
Merged
Conversation
CI still installs v2.11.4, which predates Go 1.27 support and no longer matches the current local tooling. New linter versions therefore surface compatibility failures only after dependency work reaches CI. Pin CI to v2.13.1 and align the all-linters policy with the replacement names for `exhaustruct` and `gomodguard`. Ignore repeated string findings only in test fixtures, while retaining `goconst` for production code, and apply the formatting cleanup detected by the upgraded `gofumpt`.
bgentry
enabled auto-merge (squash)
August 22, 2026 00:33
brandur
approved these changes
Aug 22, 2026
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.
Upgrade golangci-lint from v2.11.4 to v2.13.1 so CI uses the current release with Go 1.27 support.
Align the all-linters configuration with the new replacement names: retire legacy
gomodguardwhile leavinggomodguard_v2active, preserve the existing decision to disable exhaustive struct checks throughexhaustruct_v5, and ignore repeated strings only in test fixtures. Apply the singlegofumptcleanup exposed by the upgrade.The v2.13.1 signed tag, Go proxy source origin and checksums, published Linux archive checksum and contents, and release SBOM were reviewed as part of the upgrade.