Skip to content

Bump github.com/golangci/golangci-lint/v2 from 2.1.6 to 2.3.1 in /hack/tools #2451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2025

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

Release notes

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

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

  • e460991037d7e1d30f7e4f40c193eec632743624 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.0 to 5.1.1 (#5959)
  • 430bd5e07be88cac21970d1d81dc55f08a3e8a4b build(deps): bump github.com/daixiang0/gci from 0.13.6 to 0.13.7 (#5957)
  • 5ab9312c834fcbd01a067b32b0be0a6b1ac65562 build(deps): bump github.com/ldez/grignotin from 0.9.0 to 0.10.0 (#5958)
  • 1231acbf9ceaa0f64c0fd59b405d79bcf6ac57f8 build(deps): bump github.com/securego/gosec/v2 from 2.22.6 to 2.22.7 (#5953)
  • 5ab4747bd91c5942d2d54e3505a5971cb3f5da37 build(deps): bump github.com/sonatard/noctx from 0.3.5 to 0.4.0 (#5960)
  • f5dcd1f2c096f8ab965bc0050563e3359db18ee4 build(deps): bump the linter-testdata group across 3 directories with 3 updates (#5964)
  • 2b86f8576113f0c318f220604e718f001109780e tagliatelle: force upper case for custom initialisms (#5956)

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

  • efabf437c53f01aea9ae1f36d5d045bc7dddf3e0 build(deps): bump github.com/AlwxSin/noinlineerr from 1.0.4 to 1.0.5 (#5949)
  • 1f65794d24e081c5040cd7cc0ed62e338d71b63b build(deps): bump github.com/bombsimon/wsl/v5 from 5.0.0 to 5.1.0 (#5917)
  • b1b3862d065f9dc85d883c5c11a4fa0978c599d8 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 (#5947)
  • e36f9d40d1d2bc1665051776ec8684cb3fd1d499 build(deps): bump github.com/mgechev/revive from 1.10.0 to 1.11.0 (#5933)
  • f8010b0b7085d552f549da789a4abf63f0fdf7a8 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.1 to 0.20.0 (#5932)
  • 5b60be10c85efcb2e0334c0bef31042eb8d366d9 build(deps): bump github.com/securego/gosec/v2 from 2.22.5 to 2.22.6 (#5950)
  • 7cc0f9ca7a3aa5930c8bd976ef1b53d863c552d8 build(deps): bump github.com/sonatard/noctx from 0.3.4 to 0.3.5 (#5916)
  • f807e9b28216687521495c3f5af9d8fec42431ce build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#5948)
  • 90a403c3fd679c1064ca01d9a2520ce986c787da build(deps): bump github.com/uudashr/iface from 1.4.0 to 1.4.1 (#5915)
  • 75d4ce3e83c968dca0e0796c57109c42a1289718 build(deps): bump go-simpler.org/sloglint from 0.11.0 to 0.11.1 (#5936)
  • 6ead9d7b8aa3e64b6e0601ac30349699888469c7 build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#5934)
  • d3252139a8ad06e31140ac07e9b828e1ae5f10dc build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0 (#5935)
  • 9298bc069a0eb5eae2bd0e287fd02f98dfec998e fix: panic: close of closed channel (#5939)

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

... (truncated)

Changelog

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

v2.3.1

  1. Linters bug fixes
    • gci: from 0.13.6 to 0.13.7
    • gosec: from 2.22.6 to 2.22.7
    • noctx: from 0.3.5 to 0.4.0
    • wsl: from 5.1.0 to 5.1.1
    • tagliatelle: force upper case for custom initialisms

v2.3.0

  1. Linters new features or changes
    • ginkgolinter: from 0.19.1 to 0.20.0 (new option: force-assertion-description)
    • iface: from 1.4.0 to 1.4.1 (report message improvements)
    • noctx: from 0.3.4 to 0.3.5 (new detections: log/slog, exec, crypto/tls)
    • revive: from 1.10.0 to 1.11.0 (new rule: enforce-switch-style)
    • wsl: from 5.0.0 to 5.1.0
  2. Linters bug fixes
    • gosec: from 2.22.5 to 2.22.6
    • noinlineerr: from 1.0.4 to 1.0.5
    • sloglint: from 0.11.0 to 0.11.1
  3. Misc.
    • fix: panic close of closed channel

v2.2.2

  1. Linters bug fixes
    • noinlineerr: from 1.0.3 to 1.0.4
  2. Documentation
    • Improve debug keys documentation
  3. Misc.
    • fix: panic close of closed channel
    • godot: add noinline value into the JSONSchema

v2.2.1

  1. Linters bug fixes
  • varnamelen: fix configuration

v2.2.0

  1. New linters
  2. Linters new features or changes
    • errcheck: add verbose option
    • funcorder: from 0.2.1 to 0.5.0 (new option alphabetical)
    • gomoddirectives: from 0.6.1 to 0.7.0 (new option ignore-forbidden)

... (truncated)

Commits
  • 5256574 chore: prepare release
  • f5dcd1f build(deps): bump the linter-testdata group across 3 directories with 3 updat...
  • 5ab4747 build(deps): bump github.com/sonatard/noctx from 0.3.5 to 0.4.0 (#5960)
  • e460991 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.0 to 5.1.1 (#5959)
  • 5ab9312 build(deps): bump github.com/ldez/grignotin from 0.9.0 to 0.10.0 (#5958)
  • 430bd5e build(deps): bump github.com/daixiang0/gci from 0.13.6 to 0.13.7 (#5957)
  • 2b86f85 tagliatelle: force upper case for custom initialisms (#5956)
  • 2a6a36b build(deps): bump form-data from 3.0.1 to 3.0.4 in /docs (#5954)
  • 1231acb build(deps): bump github.com/securego/gosec/v2 from 2.22.6 to 2.22.7 (#5953)
  • d829f64 docs: update GitHub Action assets (#5952)
  • 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.3.1.
- [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.3.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Aug 5, 2025
@dependabot dependabot bot requested a review from Amulyam24 August 5, 2025 07:12
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 5, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

netlify bot commented Aug 5, 2025

Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!

Name Link
🔨 Latest commit e680d6a
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-ibmcloud/deploys/6891aee690ddb20008c8be58
😎 Deploy Preview https://deploy-preview-2451.cluster-api-ibmcloud.sigs.k8s.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@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 prajyot-parab 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

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 5, 2025
@k8s-ci-robot
Copy link
Contributor

@dependabot[bot]: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-api-provider-ibmcloud-test e680d6a link true /test pull-cluster-api-provider-ibmcloud-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2025

Looks like github.com/golangci/golangci-lint/v2 is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Aug 12, 2025
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

2 participants