Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2025

Bumps github.com/golangci/golangci-lint/v2 from 2.1.6 to 2.5.0.

Release notes

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

v2.5.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.

Changelog

  • 9ff8f5964aeb8bf7c603c004518f5feeaec912bd Add unqueryvet linter (#6060)
  • 5a502b3288bfa760b99cd56960ab3437712e7be3 build(deps): bump actions/checkout from 4 to 5 in the github-actions group (#5993)
  • 2d4621cb8b6d8cd07d9cd2127427561bde60fc95 build(deps): bump actions/setup-go from 5 to 6 in the github-actions group (#6068)
  • ef1978651c6ba4cfde888c49d9e0a6d9a98decc1 build(deps): bump github.com/Antonboom/errname from 1.1.0 to 1.1.1 (#6075)
  • fd51bf3b4d1ec9fdcf12123ee1ef6ab302b7746a build(deps): bump github.com/Antonboom/nilnil from 1.1.0 to 1.1.1 (#6072)
  • 22944a2edf30165cd0e4e260e7ce8dcd93d7b0ab build(deps): bump github.com/Antonboom/testifylint from 1.6.1 to 1.6.3 (#6071)
  • 5678698aca524ef136a82efa6e3f718859dfc3e3 build(deps): bump github.com/Antonboom/testifylint from 1.6.3 to 1.6.4 (#6077)
  • f20b68801e11ad1c56dadfbe2dd854221ec5e9d5 build(deps): bump github.com/Djarvur/go-err113 from 0.0.0-20210108212216-aea10b59be24 to 0.1.1 (#6086)
  • 05d1475acf9b20e2437688f6c35ecd7efc1d7163 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.1 to 5.2.0 (#6055)
  • 7b13d9895d2c4415bedc01eb884f21bdcc0dba84 build(deps): bump github.com/ghostiam/protogetter from 0.3.15 to 0.3.16 (#6046)
  • 012d42ca574f3b320cd951746437acfde11cc8e0 build(deps): bump github.com/golangci/go-printf-func-name from 0.1.0 to 0.1.1 (#6048)
  • a2141c9ec2460ab825cfdeb3274102df2c36a7cd build(deps): bump github.com/gordonklaus/ineffassign from 0.1.0 to 0.2.0 (#6032)
  • b65912b45179a0d7b3a388065c55c2a160c47a23 build(deps): bump github.com/gostaticanalysis/nilerr from 0.1.1 to a fork (#6087)
  • 3ff4d3b4a3a5d52f111eb2a3c14a6173e0528ace build(deps): bump github.com/kulti/thelper from 0.6.3 to 0.7.1 (#6084)
  • ccd8a54d4e4faff6637f6b6e41d264367fb6bf16 build(deps): bump github.com/ldez/grignotin from 0.10.0 to 0.10.1 (#6085)
  • 9dffd0cf57c8a886ad19ae7e603ef5e136e89e0f build(deps): bump github.com/ldez/tagliatelle from 0.7.1 to 0.7.2 (#6033)
  • befeaf5b8a2e12c35fe9bcd7799f8da4d37c3934 build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.3.0 to 0.4.0 (#6012)
  • e4388346d03526b2b22a9797af9a5f6787417cfe build(deps): bump github.com/mgechev/revive from 1.11.0 to 1.12.0 (#6035)
  • 8a0d1a281b5dd2e9be0e00535d073c1272cace06 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.20.0 to 0.21.0 (#6079)
  • 27c10dba4b2af184abfbe10b20cb9bad66432dbb build(deps): bump github.com/securego/gosec/v2 from 2.22.7 to 2.22.8 (#6014)
  • 02733b64bc5ef7a382a227e419af5b794b5f8732 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.7 to 4.25.8 (#6047)
  • 75d38e3c790b1cf909ab261d60471c5cd052efd1 build(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#6044)
  • 374a8cffe75bc8eb212177a72bf9c740f1e925a8 build(deps): bump github.com/spf13/pflag from 1.0.9 to 1.0.10 (#6054)
  • 3641f1c8f5bf57447e805d22484247748e3776aa build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 in /scripts/gen_github_action_config in the scripts group (#6031)
  • 937a0998ac477e07db5ece137587fe2d48d947c7 build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#6034)
  • 838684c5bc0c140d2411f7f7c13da400fd089440 build(deps): bump github.com/tdakkota/asciicheck from 0.4.1 to 0.5.0 (#6018)
  • b7bd3dba81184fab5246ab29602cc3257adfc7a6 build(deps): bump github.com/tetafro/godot from 1.5.1 to 1.5.2 (#6078)
  • 96b640c21965f1ddcc2c4c55937a0cf8dcd82fb4 build(deps): bump github.com/tetafro/godot from 1.5.2 to 1.5.4 (#6093)
  • 9de0799066a5406c9af250d749d78fcb75449b18 build(deps): bump go-simpler.org/musttag from 0.13.1 to 0.14.0 (#6015)
  • f95beb2d17051e9df7cfa35c65b94697e1045563 build(deps): bump go.augendre.info/fatcontext from 0.8.0 to 0.8.1 (#6013)
  • d376dd103b7b5172706ce9a3a31b73e9af0e07c4 build(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0 (#6073)
  • b76d4f0d57b90c41f6a045f609e83bf490390f82 build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 (#6063)
  • 96e3184137597bd9367e015364a77cc8bfc99a98 build(deps): bump golang.org/x/sys from 0.35.0 to 0.36.0 (#6064)
  • b521deb4b263cc9da43c374799c30337c1febac6 build(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0 (#6074)
  • fab8933c5c89fc383bdee0e68c8e1b2d8abd67fa build(deps): bump mvdan.cc/gofumpt from 0.8.0 to 0.9.1 (#6065)
  • b6451763192540d2bc307792b73f4301efebdda0 build(deps): bump the scripts group in /scripts/gen_github_action_config with 2 updates (#6067)
  • 09ded415aff9fb9492b8b6d80e6431f62791e93d feat: add godoclint linter (#6062)
  • bfb730a36232fd2c6f726d0aeae3e13a00008042 feat: add iotamixing linter (#5966)
  • 88ef93e2d8f23e910e539c0fabbaec2b7b7cce8c fix: no export data must always be handled as a typecheck error (#6061)

... (truncated)

Changelog

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

v2.5.0

  1. New linters
  2. Linters new features or changes
    • embeddedstructfieldcheck: from 0.3.0 to 0.4.0 (new option: empty-line)
    • err113: from aea10b59be24 to 0.1.1 (skip internals of Is methods for error type)
    • ginkgolinter: from 0.20.0 to 0.21.0 (new option: force-tonot)
    • gofumpt: from 0.8.0 to 0.9.1 (new rule is to "clothe" naked returns for the sake of clarity)
    • ineffassign: from 0.1.0 to 0.2.0 (new option: check-escaping-errors)
    • musttag: from 0.13.1 to 0.14.0 (support interface methods)
    • revive: from 1.11.0 to 1.12.0 (new options: identical-ifelseif-branches, identical-ifelseif-conditions, identical-switch-branches, identical-switch-conditions, package-directory-mismatch, unsecure-url-scheme, use-waitgroup-go, useless-fallthrough)
    • thelper: from 0.6.3 to 0.7.1 (skip t.Helper in functions passed to synctest.Test)
    • wsl: from 5.1.1 to 5.2.0 (improvements related to subexpressions)
  3. Linters bug fixes
    • asciicheck: from 0.4.1 to 0.5.0
    • errname: from 1.1.0 to 1.1.1
    • fatcontext: from 0.8.0 to 0.8.1
    • go-printf-func-name: from 0.1.0 to 0.1.1
    • godot: from 1.5.1 to 1.5.4
    • gosec: from 2.22.7 to 2.22.8
    • nilerr: from 0.1.1 to a temporary fork
    • nilnil: from 1.1.0 to 1.1.1
    • protogetter: from 0.3.15 to 0.3.16
    • tagliatelle: from 0.7.1 to 0.7.2
    • testifylint: from 1.6.1 to 1.6.4
  4. Misc.
    • fix: "no export data" errors are now handled as a standard typecheck error
  5. Documentation
    • Improve nolint section about syntax

v2.4.0

  1. Enhancements
    • 🎉 go1.25 support
  2. Linters new features or changes
    • exhaustruct: from v3.3.1 to 4.0.0 (new options: allow-empty, allow-empty-rx, allow-empty-returns, allow-empty-declarations)
  3. Linters bug fixes
    • godox: trim filepath from report messages
    • staticcheck: allow empty options
    • tagalign: from 1.4.2 to 1.4.3
  4. Documentation
    • 🌟 New website (with a search engine)

v2.3.1

  1. Linters bug fixes
    • gci: from 0.13.6 to 0.13.7

... (truncated)

Commits
  • ff63786 chore: prepare release
  • 96b640c build(deps): bump github.com/tetafro/godot from 1.5.2 to 1.5.4 (#6093)
  • 9428557 docs: improve nolint section (#6089)
  • b65912b build(deps): bump github.com/gostaticanalysis/nilerr from 0.1.1 to a fork (#6...
  • 3ff4d3b build(deps): bump github.com/kulti/thelper from 0.6.3 to 0.7.1 (#6084)
  • f20b688 build(deps): bump github.com/Djarvur/go-err113 from 0.0.0-20210108212216-aea1...
  • ccd8a54 build(deps): bump github.com/ldez/grignotin from 0.10.0 to 0.10.1 (#6085)
  • 9ff8f59 Add unqueryvet linter (#6060)
  • 8a0d1a2 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.20.0 to 0.21.0 (#6079)
  • b7bd3db build(deps): bump github.com/tetafro/godot from 1.5.1 to 1.5.2 (#6078)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.1.6 to 2.5.0.
- [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.1.6...v2.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 22, 2025
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 22, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign maciaszczykm for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. dependencies Pull requests that update a dependency file go Pull requests that update Go code size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant