chore: bump golangci-lint to v2.5.0#4571
Open
ogulcanaydogan wants to merge 2 commits into
Open
Conversation
Bump golangci-lint from v2.4.0 to v2.5.0 (released 2025-09-21). The release is mostly dependency bumps for underlying linters (revive 1.11.0 to 1.12.0, gosec 2.22.7 to 2.22.8, testifylint 1.6.1 to 1.6.4, etc.) plus one new opt-in linter (unqueryvet). Since the gatekeeper .golangci.yaml uses `default: none` with an explicit enable list, the new linter is not activated automatically. Signed-off-by: Ogulcan Aydogan <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## master #4571 +/- ##
===========================================
- Coverage 54.49% 44.43% -10.07%
===========================================
Files 134 282 +148
Lines 12329 20717 +8388
===========================================
+ Hits 6719 9206 +2487
- Misses 5116 10714 +5598
- Partials 494 797 +303
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JaydipGabani
approved these changes
May 20, 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.
What this PR does / why we need it
Bump golangci-lint from
v2.4.0(released 2025-08-14) tov2.5.0(released 2025-09-21). This is a single-minor-version step intended to keep the linter close to upstream without skipping ahead too far in one go.The v2.5.0 release is mostly dependency bumps for underlying linters (e.g.
revive1.11.0 to 1.12.0,gosec2.22.7 to 2.22.8,testifylint1.6.1 to 1.6.4) plus one new linter (unqueryvet). The gatekeeper.golangci.yamlusesdefault: nonewith an explicit enable list, sounqueryvetis not activated automatically.Which issue(s) this PR fixes
Part of keeping tooling current; no specific issue.
Special notes for your reviewer
If CI lint passes here, a follow-up PR can step to v2.6.x or v2.7.x. Skipping straight to v2.12.x would lump several minor releases together and make any new lint failures harder to diagnose.
Full v2.5.0 changelog: https://golangci-lint.run/docs/product/changelog/#250