Skip to content

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

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 Jul 1, 2025

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

Release notes

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

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

  • f2782fa005b6067e40318396aa263819ad6c6600 varnamelen: fix configuration (#5904)

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

  • f54365bc92856d453f8c7c4684022b5d4efa0cb1 Add noinlineerr linter (#5826)
  • 3e52be7b0d94868487584e6ce19e72a9bb906507 Add swaggo/swag formatter (#5749)
  • f5f2c1654bc47cbde49e6849acc9e2b30da2fda0 build(deps): bump github.com/Abirdcfly/dupword from 0.1.3 to 0.1.4 (#5809)
  • 2a63ebc12fd4c8a31c281cffa31671c161461fb7 build(deps): bump github.com/Abirdcfly/dupword from 0.1.4 to 0.1.5 (#5839)
  • 0bcafa0850bd0ac1aeaa440f4684838e2fb5cf49 build(deps): bump github.com/Abirdcfly/dupword from 0.1.5 to 0.1.6 (#5841)
  • 58036ddeefcfc8814b9787742a6985b13d02c4b0 build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0 (#5812)
  • acbcbdbd1583e557c882d618192a5b5ffb773b34 build(deps): bump github.com/ashanbrown/forbidigo from 1.6.0 to 2.1.0 (#5783)
  • e905d8072c5f0a75434d1ddee57bdcdcf52fb00f build(deps): bump github.com/ashanbrown/makezero from 1.2.0 to 2.0.1 (#5782)
  • 82147d5e369bdd379e244d3e7383aa10cd59e264 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
  • ba13580e580057aa401b35d26f2ff9d8238276ab build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#5888)
  • f40f9d70b29e63faa798e685c7024383d536640a build(deps): bump github.com/golangci/misspell from 0.6.0 to 0.7.0 (#5813)
  • b9510d7a4edbd5d9c821075fb56d5d426dae8783 build(deps): bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 (#5838)
  • 8eab120d6baa9675be6076ccd4a1549f76a8e736 build(deps): bump github.com/jgautheron/goconst from 1.8.1 to 1.8.2 (#5825)
  • ed782d7ccc1f046017ec50028911e1ffbcb42726 build(deps): bump github.com/jjti/go-spancheck from 0.6.4 to 0.6.5 (#5784)
  • 6ed4f0401794942029ba0f787510ec38ec0915e0 build(deps): bump github.com/ldez/exptostd from 0.4.3 to 0.4.4 (#5876)
  • cc3f6dedcffd6facae39bde67682be388b1d29d1 build(deps): bump github.com/ldez/gomoddirectives from 0.6.1 to 0.7.0 (#5869)
  • 6b65696820e49f6aec082f4dcdb9014032784721 build(deps): bump github.com/ldez/usetesting from 0.4.3 to 0.5.0 (#5877)
  • 8e38a6ef025ba738f23ca4a34d6d86eec0d99a72 build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.2.1 to 0.3.0 (#5811)
  • fd9a0f2150183f66d8f2f41bbea8706b48881c7d build(deps): bump github.com/manuelarte/funcorder from 0.2.1 to 0.3.0 (#5743)
  • 5a945fd5546aaa14f315105a651a236736217595 build(deps): bump github.com/manuelarte/funcorder from 0.3.0 to 0.5.0 (#5792)
  • 10525556561539351fb38b679be789900ba00c29 build(deps): bump github.com/mgechev/revive from 1.9.0 to 1.10.0 (#5837)
  • ee5054adbef639ee2b48f42668d8e9fb01e99dcc build(deps): bump github.com/santhosh-tekuri/jsonschema/v6 from 6.0.1 to 6.0.2 (#5829)
  • e7c45898cada168d6f2c98e309974d8405d49635 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.28.0 to 1.29.0 (#5828)
  • fd792aec377b3e473c52e73e8d08b5f0bcdec290 build(deps): bump github.com/securego/gosec/v2 from 2.22.3 to 2.22.4 (#5788)
  • 9f19dcbee0727fcec5f558f0f786268551a48bcb build(deps): bump github.com/securego/gosec/v2 from 2.22.4 to 2.22.5 (#5880)
  • a02b91e66f7ba7aaba3b4f22d7e9dc4aa44ab9ad build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.4 to 4.25.5 (#5849)
  • af60e9f6c7bc26abd82dc0da1d1cc3dc0dddaecf build(deps): bump github.com/sonatard/noctx from 0.1.0 to 0.3.3 (#5771)
  • 8496d6dfb9ab700fc5989326f3b82f4b9d60987a build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)

... (truncated)

Changelog

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

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)
    • iface: from 1.3.1 to 1.4.0 (new option unexported)
    • noctx: from 0.1.0 to 0.3.3 (new report messages, and new rules related to database/sql)
    • noctx: from 0.3.3 to 0.3.4 (new SQL functions detection)
    • revive: from 1.9.0 to 1.10.0 (new rules: time-date, unnecessary-format, use-fmt-print)
    • usestdlibvars: from 1.28.0 to 1.29.0 (new option time-date-month)
    • wsl: deprecation
    • wsl_v5: from 4.7.0 to 5.0.0 (major version with new configuration)
  3. Linters bug fixes
    • dupword: from 0.1.3 to 0.1.6
    • exptostd: from 0.4.3 to 0.4.4
    • forbidigo: from 1.6.0 to 2.1.0
    • gci: consistently format the code
    • go-spancheck: from 0.6.4 to 0.6.5
    • goconst: from 1.8.1 to 1.8.2
    • gosec: from 2.22.3 to 2.22.4
    • gosec: from 2.22.4 to 2.22.5
    • makezero: from 1.2.0 to 2.0.1
    • misspell: from 0.6.0 to 0.7.0
    • usetesting: from 0.4.3 to 0.5.0
  4. Misc.
    • exclusions: fix path-expect
    • formatters: write the input to stdout when using stdin and there are no changes
    • migration: improve the error message when trying to migrate a migrated config
    • typecheck: deduplicate errors
    • typecheck: stops the analysis after the first error
    • Deprecate print-resources-usage flag
    • Unique version per custom build
  5. Documentation
    • Improves typecheck FAQ
    • Adds plugin systems recommendations
    • Add description for linters.default sets
Commits
  • 66496a9 chore: prepare release
  • f2782fa varnamelen: fix configuration (#5904)
  • 65529a4 docs: update documentation assets (#5903)
  • 1e7781b chore: prepare release
  • d2b7957 dev: add suggested migration for linter configuration (#5902)
  • 82147d5 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
  • 6d9ab42 fix: unique version per custom build (#5896)
  • 8496d6d build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)
  • db7f62b fix: formats consistently the code with gci (#5893)
  • 223ff51 build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /.github/peril (#5...
  • 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.2.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.2.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.2.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 Jul 1, 2025
Copy link

netlify bot commented Jul 1, 2025

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

Name Link
🔨 Latest commit aa64e91
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-ibmcloud/deploys/686340231be0d500089ce1e4
😎 Deploy Preview https://deploy-preview-2409.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 k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 1, 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 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
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.

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

/retest

@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 aa64e91 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.

@Prajyot-Parab
Copy link
Contributor

@kishen-v as discussed ptal at this.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2025

Superseded by #2427.

@dependabot dependabot bot closed this Jul 15, 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