Skip to content

Upgrade golangci-lint to v2.13.1 - #659

Merged
bgentry merged 1 commit into
masterfrom
bg/upgrade-golangci-lint-2.13.1
Aug 22, 2026
Merged

Upgrade golangci-lint to v2.13.1#659
bgentry merged 1 commit into
masterfrom
bg/upgrade-golangci-lint-2.13.1

Conversation

@bgentry

@bgentry bgentry commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

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 gomodguard while leaving gomodguard_v2 active, preserve the existing decision to disable exhaustive struct checks through exhaustruct_v5, and ignore repeated strings only in test fixtures. Apply the single gofumpt cleanup 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.

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
bgentry requested a review from brandur August 22, 2026 00:33
@bgentry
bgentry enabled auto-merge (squash) August 22, 2026 00:33
@bgentry
bgentry merged commit b53c345 into master Aug 22, 2026
21 checks passed
@bgentry
bgentry deleted the bg/upgrade-golangci-lint-2.13.1 branch August 22, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants