Skip to content

chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2#368

Merged
flc1125 merged 1 commit intov2.xfrom
renovate/github.com-golangci-golangci-lint-v2-2.x
Mar 8, 2026
Merged

chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2#368
flc1125 merged 1 commit intov2.xfrom
renovate/github.com-golangci-golangci-lint-v2-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 6, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.10.1v2.11.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2)

v2.11.2

Compare Source

Released on 2026-03-07

  1. Fixes
    • fmt: fix error when using the fmt command with explicit paths.

v2.11.1

Compare Source

Released on 2026-03-06

Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

This release contains the same things as v2.11.0.

v2.11.0

Compare Source

Released on 2026-03-06

  1. Linters new features or changes
    • errcheck: from 1.9.0 to 1.10.0 (exclude crypto/rand.Read by default)
    • gosec: from 2.23.0 to 2.24.6 (new rules: G113, G118, G119, G120, G121, G122, G123, G408, G707)
    • noctx: from 0.4.0 to 0.5.0 (new detection: httptest.NewRequestWithContext)
    • prealloc: from 1.0.2 to 1.1.0
    • revive: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from var-naming to a new rule package-naming)
  2. Linters bug fixes
    • gocognit: from 1.2.0 to 1.2.1
    • gosec: from 2.24.6 to 2.24.7
    • unqueryvet: from 1.5.3 to 1.5.4

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 6, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 6, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/alexkohler/prealloc v1.0.3 -> v1.1.0
github.com/mgechev/revive v1.14.0 -> v1.15.0
github.com/securego/gosec/v2 v2.24.0 -> v2.24.7

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.27%. Comparing base (9b2cae8) to head (9dbd35f).
⚠️ Report is 8 commits behind head on v2.x.

Additional details and impacted files
@@           Coverage Diff           @@
##             v2.x     #368   +/-   ##
=======================================
  Coverage   92.27%   92.27%           
=======================================
  Files           1        1           
  Lines         207      207           
=======================================
  Hits          191      191           
  Misses         11       11           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.1 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2 Mar 8, 2026
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from e64930a to 9dbd35f Compare March 8, 2026 01:54
Copy link
Copy Markdown
Owner

@flc1125 flc1125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Auto-approved by workflow.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 8, 2026
@flc1125 flc1125 merged commit 2217054 into v2.x Mar 8, 2026
11 checks passed
@flc1125 flc1125 deleted the renovate/github.com-golangci-golangci-lint-v2-2.x branch March 8, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant