Skip to content

build(deps): bump github.com/golangci/golangci-lint/v2 from 2.3.1 to 2.4.0 in /tools#537

Merged
openshift-merge-bot[bot] merged 1 commit intomainfrom
dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.4.0
Sep 9, 2025
Merged

build(deps): bump github.com/golangci/golangci-lint/v2 from 2.3.1 to 2.4.0 in /tools#537
openshift-merge-bot[bot] merged 1 commit intomainfrom
dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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

Release notes

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

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

  • fe730dbaf1522d4c4675e06da870f7cb86012c31 build(deps): bump github.com/4meepo/tagalign from 1.4.2 to 1.4.3 (#5971)
  • 78dedd36faf478ad43534d3d596f980d70494b26 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct from v3.3.1 to 4.0.0 (#5984)
  • 3db762ce17ff12a9da2763b4c957aa4c1faf0a56 build(deps): bump github.com/alecthomas/chroma/v2 from 2.19.0 to 2.20.0 (#5981)
  • 16a682e3578e26e95761fb74db037f77452e45bc build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.6 to 4.25.7 (#5970)
  • 4b2b940b6948bbd3e10e80c23ab205d59b1ea6ca build(deps): bump golang.org/x/mod from 0.26.0 to 0.27.0 (#5982)
  • b4038f698436e0237b196bf707ec70bea6acbe09 build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 (#5980)
  • 18bf59c9c9baf8da7afbda8c363a62f061686cfe build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0 (#5988)
  • fca8610ee8fe3bf0bc2e8b7be7c674dd26aaa289 feat: go1.25 support (#5872)
  • ef6ead877eef6c960d669f0486b271e2ccf65c9d godox: trim filepath from report messages (#5977)
  • cabd53d910cfb3f7de422cf53f9db4596dba3be5 staticcheck: allow empty options (#5983)
Changelog

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

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)
Commits

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.3.1 to 2.4.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.3.1...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 14, 2025
@cfergeau
Copy link
Copy Markdown
Collaborator

/hold
This sets the go version to 1.24 in go.mod, I’m not sure yet we want to do this.

@cfergeau
Copy link
Copy Markdown
Collaborator

cfergeau commented Sep 9, 2025

/unhold
crc switched to golang 1.24, and other users probably switched too.

@cfergeau
Copy link
Copy Markdown
Collaborator

cfergeau commented Sep 9, 2025

/lgtm
/approve

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Sep 9, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, dependabot[bot]

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved label Sep 9, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 32d1f5f into main Sep 9, 2025
22 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.4.0 branch September 9, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant