Skip to content

Comments

build(deps): bump golangci/golangci-lint-action from 6.5.0 to 7.0.0#1739

Merged
ti-mo merged 8 commits intomainfrom
dependabot/github_actions/golangci/golangci-lint-action-7.0.0
Apr 2, 2025
Merged

build(deps): bump golangci/golangci-lint-action from 6.5.0 to 7.0.0#1739
ti-mo merged 8 commits intomainfrom
dependabot/github_actions/golangci/golangci-lint-action-7.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps golangci/golangci-lint-action from 6.5.0 to 7.0.0.

Release notes

Sourced from golangci/golangci-lint-action's releases.

v7.0.0

⚠️ The GitHub Action v7 supports golangci-lint v2 only. ⚠️

What's Changed

Changes

Documentation

Dependencies

New Contributors

Full Changelog: golangci/golangci-lint-action@v6.5.2...v7.0.0

v6.5.2

What's Changed

Changes

Dependencies

Full Changelog: golangci/golangci-lint-action@v6.5.1...v6.5.2

v6.5.1

What's Changed

Changes

Documentation

Dependencies

... (truncated)

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 1, 2025
@dependabot dependabot bot requested a review from a team as a code owner April 1, 2025 14:25
ti-mo and others added 2 commits April 2, 2025 09:54
typecheck is no longer a linter; it cannot be disabled and is part of the
linting process by default.

See https://golangci-lint.run/product/migration-guide/#typecheck.

Signed-off-by: Timo Beckers <[email protected]>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.5.0 to 7.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v6.5.0...v7.0.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Removed the --out-format argument since it no longer exists.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Timo Beckers <[email protected]>
@ti-mo ti-mo force-pushed the dependabot/github_actions/golangci/golangci-lint-action-7.0.0 branch from 8d5105a to c0c542f Compare April 2, 2025 07:55
ti-mo added 2 commits April 2, 2025 10:05
This is probably how it should be used in production, and staticcheck
started complaining about main() being unused.

Signed-off-by: Timo Beckers <[email protected]>
Satisfy staticcheck:

QF1008: could remove embedded field "mutableTypes" from selector

Signed-off-by: Timo Beckers <[email protected]>
ti-mo added 4 commits April 2, 2025 10:47
staticcheck helpfully flagged this as an ineffective break. Return instead.

Signed-off-by: Timo Beckers <[email protected]>
Fix the `QF1001: could apply De Morgan's law` warning.

Signed-off-by: Timo Beckers <[email protected]>
Fixes `ST1005: error strings should not be capitalized`.

Signed-off-by: Timo Beckers <[email protected]>
…rinting)

Printing a []byte and a string([]byte) are not the same thing. We typically print
bytes on purpose, so we don't need this linter.

Fixed one case where we should've been using t.Log instead of fmt.Println anyway.

Signed-off-by: Timo Beckers <[email protected]>
@ti-mo ti-mo force-pushed the dependabot/github_actions/golangci/golangci-lint-action-7.0.0 branch from 623ac31 to 4ab254f Compare April 2, 2025 08:48
@ti-mo ti-mo merged commit e3234a1 into main Apr 2, 2025
17 checks passed
@ti-mo ti-mo deleted the dependabot/github_actions/golangci/golangci-lint-action-7.0.0 branch April 2, 2025 09:44
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 github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant