Skip to content

build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.11.3 to 2.12.2 - #1311

Merged
lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2
Jun 12, 2026
Merged

lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/golangci/golangci-lint/v2 from 2.11.3 to 2.12.2.

Release notes

Sourced from github.com/golangci/golangci-lint/v2's releases.

v2.12.2

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • 0b01827ae79a0cb92002b4b39867d133cef4c05c build(deps): bump github.com/onsi/ginkgo/v2 from 2.28.1 to 2.28.2 in /pkg/golinters/ginkgolinter/testdata in the linter-testdata group across 1 directory (#6559)
  • 1a0697fc84d7f1376c8d8b1ebe20d9331c3d221f build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.0 to 2.3.1 (#6548)
  • f11cfe0f968601fb4cf40c704ca18e97b49282dd build(deps): bump github.com/ryancurrah/gomodguard/v2 from 2.1.0 to 2.1.3 (#6549)
  • fb2c2411a7e6b05778c097c971e4017d2a6ef5c9 build(deps): bump github.com/shirou/gopsutil/v4 from 4.26.3 to 4.26.4 (#6547)
  • 9a10710cd9d198dbda7ebdf39f7be4c659bc20c9 build(deps): bump github.com/uudashr/iface from 1.4.1 to 1.4.2 (#6557)
  • 81e8f81bbb341152bb21dc516981cb4c30712088 gomodguard: fix blocked configuration (#6561)

v2.12.1

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

[!IMPORTANT] If you are using the install script from the master branch: https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh This branch is not used anymore, we are using main.

We recommend using https://golangci-lint.run/install.sh as URL to install golangci-lint.

https://golangci-lint.run/docs/welcome/install/local/#binaries

  • 35b2189782a6a059489289257e6523550167cb64 fix: install.sh script (#6539)
  • 3a006ab284f52a5aac0a7daa77ae683e43fb7b69 gomodguard: fix panic with migration suggestion (#6542)

v2.12.0

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint/v2's changelog.

v2.12.2

Released on 2026-05-06

  1. Linters bug fixes
    • gomodguard_v2: fix blocked configuration
    • gomodguard_v2: from 2.1.0 to 2.1.3
    • iface: from 1.4.1 to 1.4.2

v2.12.1

Released on 2026-05-01

  1. Linters bug fixes
    • gomodguard_v2: fix panic with migration suggestion
  2. Misc.
    • fix install.sh script (if you are still using an URL based on the branch master, please update to use https://golangci-lint.run/install.sh)

v2.12.0

Released on 2026-05-01

  1. New linters
  2. Linters new features or changes
    • dupl: from f665c8d69b32 to c99c5cf5c202 (extended detection)
    • funcorder: from 0.5.0 to 0.6.0 (new option: function)
    • goconst: add an option to ignore strings from tests
    • goconst: from 1.8.2 to 1.10.0 (extended detection)
    • gomodguard_v2: from 1.4.1 to 2.1.0 (major version with new configuration)
    • gosec: from 619ce2117e08 to 2.26.1 (new checks: G124, G708, G709, G710)
    • govet: add inline analyzer
    • makezero: from 2.1.0 to 2.2.1 (support slice type aliases)
    • paralleltest: expose checkcleanup option
    • sloglint: from 0.11.1 to 0.12.0 (new options: allowed-keys, custom-funcs)
    • wsl_v5: from 5.6.0 to 5.8.0 (new option: cuddle-max-statements; new checks: after-decl, after-defer, after-expr, after-go, cuddle-group)
  3. Linters bug fixes
    • forbidigo: from 2.3.0 to 2.3.1
    • godot: from 1.5.4 to 1.5.6
    • govet-modernize: from 0.43.0 to 0.44.0
    • ireturn: from 0.4.0 to 0.4.1
    • rowserrcheck: from 1.1.1 to c5f79b8
  4. Misc.
    • Decrease cache entropy
    • Embed the JSON schema in the binary
    • Filter env vars when cloning the repository with the custom command

v2.11.4

Released on 2026-03-22

... (truncated)

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 12, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 12, 2026
@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Dependency Security Review: golangci-lint v2.11.3 → v2.12.2

Verdict: SAFE — approve merge.

What changed

This is a pure dev-tooling bump. The diff touches only go.mod / go.sum — no production code.

Notable behaviour changes for linting:

  • New linter added: clickhouselint (v1.2.0) — only activates if explicitly enabled in .golangci.yml; no automatic new failures expected.
  • gosec updated: v2.24.8 → v2.26.1, which adds four new security rules (G124 HTTP-header injection, G708/G709/G710). These will surface new findings only if gosec is run via this go.mod-tracked binary — the CI workflow and Makefile both pin v2.8 independently, so CI lint output is unaffected by this bump.
  • gomodguard panic fix (v2.12.1): fixes a crash on certain blocked-module configs.
  • Minor transitive dep bumps within golangci-lint's own dep tree.

Security findings

Package Finding
golangci/golangci-lint/v2 No CVEs in OSV.dev or GitHub Advisories
Transitive deps Minor version bumps only; no advisories

No CVEs, no security advisories, no breaking changes.

Version-pin note (pre-existing, not introduced by this PR)

go.mod declares v2.12.2, but .github/workflows/lint.yml and Makefile both pin v2.8. The CI lint runs will continue to use v2.8 until those pins are updated. Aligning them to v2.12.x would unlock the new gosec checks — low priority.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

🤖 Co-authored by Claudius the Magnificent AI Agent

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2 branch from 4aa773c to 53dc164 Compare June 12, 2026 09:41
@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

🤖 Co-authored by Claudius the Magnificent AI Agent

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2 branch from 53dc164 to 239c90b Compare June 12, 2026 10:01
@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

🤖 Co-authored by Claudius the Magnificent AI Agent

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.11.3 to 2.12.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.11.3...v2.12.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2 branch from 239c90b to 7246bd9 Compare June 12, 2026 10:44
@lklimek
lklimek merged commit dd59521 into v1.6-dev Jun 12, 2026
25 of 27 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.12.2 branch June 12, 2026 12:01
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant