Skip to content

Commit

Permalink
deps: update dependency golangci/golangci-lint (#595)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[golangci/golangci-lint](https://redirect.github.com/golangci/golangci-lint)
| | minor | `v1.63.4` -> `v1.64.6` |
|
[golangci/golangci-lint](https://redirect.github.com/golangci/golangci-lint)
| image | minor | `v1.63` -> `v1.64` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

###
[`v1.64.6`](https://redirect.github.com/golangci/golangci-lint/releases/tag/v1.64.6)

[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.64.5...v1.64.6)

`golangci-lint` is a free and open-source project built by volunteers.

If you value it, consider supporting us, the
[maintainers](https://opencollective.com/golangci-lint) and [linter
authors](https://golangci-lint.run/product/thanks/).

We appreciate it! ❤️

For key updates, see the
[changelog](https://golangci-lint.run/product/changelog/#&#8203;1646).

#### Changelog

-
[`3d28c57`](https://redirect.github.com/golangci/golangci-lint/commit/3d28c57b576da4671faa9ec73890a6dd63f021ef)
Require type for oneOf mutual exclusion
([#&#8203;5426](https://redirect.github.com/golangci/golangci-lint/issues/5426))
-
[`84ab753`](https://redirect.github.com/golangci/golangci-lint/commit/84ab7530439226915db56606ca08cadaa05d2dae)
build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.1 to 1.3.0
([#&#8203;5485](https://redirect.github.com/golangci/golangci-lint/issues/5485))
-
[`9fddfc4`](https://redirect.github.com/golangci/golangci-lint/commit/9fddfc4769d6300e7c29ca3e5c2c8ffbe8caa9f8)
build(deps): bump github.com/4meepo/tagalign from 1.4.1 to 1.4.2
([#&#8203;5430](https://redirect.github.com/golangci/golangci-lint/issues/5430))
-
[`404916a`](https://redirect.github.com/golangci/golangci-lint/commit/404916a76cdfb5741677e9bdfd2e2cee8595d65c)
build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from
3.3.0 to 3.3.1
([#&#8203;5467](https://redirect.github.com/golangci/golangci-lint/issues/5467))
-
[`3b6b9da`](https://redirect.github.com/golangci/golangci-lint/commit/3b6b9da36740ba61c3b0878a96b2fdc1a40eeb29)
build(deps): bump github.com/catenacyber/perfsprint from 0.8.1 to 0.8.2
([#&#8203;5441](https://redirect.github.com/golangci/golangci-lint/issues/5441))
-
[`336b21b`](https://redirect.github.com/golangci/golangci-lint/commit/336b21bb5c21d6538d6b1d8aa1fc3c778a8d0212)
build(deps): bump github.com/kisielk/errcheck from 1.8.0 to 1.9.0
([#&#8203;5447](https://redirect.github.com/golangci/golangci-lint/issues/5447))
-
[`baad5bb`](https://redirect.github.com/golangci/golangci-lint/commit/baad5bb7bd258e693266831b4a2b3dbf330405b6)
build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.5 to 1.1.6
([#&#8203;5482](https://redirect.github.com/golangci/golangci-lint/issues/5482))
-
[`9e832c9`](https://redirect.github.com/golangci/golangci-lint/commit/9e832c95a4156a00d3a899ec567eba071fe50507)
build(deps): bump github.com/ldez/exptostd from 0.4.1 to 0.4.2
([#&#8203;5456](https://redirect.github.com/golangci/golangci-lint/issues/5456))
-
[`f2c6303`](https://redirect.github.com/golangci/golangci-lint/commit/f2c630353beae8e62bbd71821de0ec56161fd567)
build(deps): bump github.com/mgechev/revive from 1.6.1 to 1.7.0
([#&#8203;5422](https://redirect.github.com/golangci/golangci-lint/issues/5422))
-
[`9a2423a`](https://redirect.github.com/golangci/golangci-lint/commit/9a2423aa4bbbb26b3b8954a208abadc053c6e9c8)
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.0 to 0.19.1
([#&#8203;5435](https://redirect.github.com/golangci/golangci-lint/issues/5435))
-
[`140d96e`](https://redirect.github.com/golangci/golangci-lint/commit/140d96e7c60b3e673aa68cea25e2c9537992febc)
build(deps): bump github.com/rogpeppe/go-internal from 1.13.1 to 1.14.0
([#&#8203;5469](https://redirect.github.com/golangci/golangci-lint/issues/5469))
-
[`3eecab1`](https://redirect.github.com/golangci/golangci-lint/commit/3eecab1ebde99a3c7205f09230c43a3c026a0074)
build(deps): bump github.com/rogpeppe/go-internal from 1.14.0 to 1.14.1
([#&#8203;5476](https://redirect.github.com/golangci/golangci-lint/issues/5476))
-
[`d574f35`](https://redirect.github.com/golangci/golangci-lint/commit/d574f356334437b4210b8289d21af02a817ef868)
build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.2
([#&#8203;5486](https://redirect.github.com/golangci/golangci-lint/issues/5486))
-
[`1a6b95b`](https://redirect.github.com/golangci/golangci-lint/commit/1a6b95b3bd98cf59576f858ceaf8a531d7dc4206)
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.0
([#&#8203;5421](https://redirect.github.com/golangci/golangci-lint/issues/5421))
-
[`69ed661`](https://redirect.github.com/golangci/golangci-lint/commit/69ed661ed0ba5d17098221a1326fd159d9c362f5)
build(deps): bump github.com/spf13/cobra from 1.9.0 to 1.9.1
([#&#8203;5429](https://redirect.github.com/golangci/golangci-lint/issues/5429))
-
[`5e17a57`](https://redirect.github.com/golangci/golangci-lint/commit/5e17a57d181c5ac40067976f6ed07ee7bc888498)
build(deps): bump github.com/tdakkota/asciicheck from 0.4.0 to 0.4.1
([#&#8203;5418](https://redirect.github.com/golangci/golangci-lint/issues/5418))
-
[`2c1d661`](https://redirect.github.com/golangci/golangci-lint/commit/2c1d661a335214d4c4df257396727cb8381abfd4)
build(deps): bump github.com/tetafro/godot from 1.4.20 to 1.5.0
([#&#8203;5420](https://redirect.github.com/golangci/golangci-lint/issues/5420))
-
[`414f446`](https://redirect.github.com/golangci/golangci-lint/commit/414f44604ba1808d7e69afb0b787a384a22f66f4)
build(deps): bump golang.org/x/oauth2 from 0.26.0 to 0.27.0 in
/scripts/gen_github_action_config in the scripts group
([#&#8203;5471](https://redirect.github.com/golangci/golangci-lint/issues/5471))
-
[`042d640`](https://redirect.github.com/golangci/golangci-lint/commit/042d640b8d8a9f955dec4a620f3acbb8bcc2850c)
build(deps): bump golangci/golangci-lint-action from 6.3.2 to 6.5.0 in
the github-actions group
([#&#8203;5419](https://redirect.github.com/golangci/golangci-lint/issues/5419))
-
[`d4f4d16`](https://redirect.github.com/golangci/golangci-lint/commit/d4f4d16c82dbeb953249d2ae7c11092798da1a39)
build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 in
/pkg/golinters/protogetter/testdata in the linter-testdata group across
1 directory
([#&#8203;5484](https://redirect.github.com/golangci/golangci-lint/issues/5484))
-
[`f69da39`](https://redirect.github.com/golangci/golangci-lint/commit/f69da398be9ae51f5a47c961b9e77d3b5a0e91e0)
fix: use commit hash when version is v0.0.0
([#&#8203;5479](https://redirect.github.com/golangci/golangci-lint/issues/5479))
-
[`53d58e8`](https://redirect.github.com/golangci/golangci-lint/commit/53d58e8e22cdca34cb65f2dc1ef2ae94a03ce524)
govet: skip fieldalignment test on 32bit platforms
([#&#8203;5463](https://redirect.github.com/golangci/golangci-lint/issues/5463))

###
[`v1.64.5`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1645)

[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.64.4...v1.64.5)

1.  Bug fixes
    -   Add missing flag `new-from-merge-base-flag`
2.  Linters bug fixes
    -   `asciicheck`: from 0.3.0 to 0.4.0
    -   `forcetypeassert`: from 0.1.0 to 0.2.0
    -   `gosec`: from 2.22.0 to 2.22.1

###
[`v1.64.4`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1644)

[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.64.3...v1.64.4)

1.  Linters bug fixes
    -   `gci`: fix standard packages list for go1.24

###
[`v1.64.3`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1643)

[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.64.2...v1.64.3)

1.  Linters bug fixes
    -   `ginkgolinter`: from 0.18.4 to 0.19.0
    -   `go-critic`: from 0.11.5 to 0.12.0
    -   `revive`: from 1.6.0 to 1.6.1
    -   `gci`: fix standard packages list for go1.24
2.  Misc.
    -   Build Docker images with go1.24

###
[`v1.64.2`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1642)

[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.63.4...v1.64.2)

This is the last minor release of golangci-lint v1.
The next release will be golangci-lint
[v2](https://redirect.github.com/golangci/golangci-lint/issues/5300).

1.  Enhancements
    -   🎉 go1.24 support
    -   New `issues.new-from-merge-base` option
    -   New `run.relative-path-mode` option
2.  Linters new features
    -   `copyloopvar`: from 1.1.0 to 1.2.1 (support suggested fixes)
- `exptostd`: from 0.3.1 to 0.4.1 (handles
`golang.org/x/exp/constraints.Ordered`)
- `fatcontext`: from 0.5.3 to 0.7.1 (new option:
`check-struct-pointers`)
- `perfsprint`: from 0.7.1 to 0.8.1 (new options: `integer-format`,
`error-format`, `string-format`, `bool-format`, and `hex-format`)
- `revive`: from 1.5.1 to 1.6.0 (new rules: `redundant-build-tag`,
`use-errors-new`. New option `early-return.early-return`)
3.  Linters bug fixes
    -   `go-errorlint`: from 1.7.0 to 1.7.1
    -   `gochecknoglobals`: from 0.2.1 to 0.2.2
- `godox`: from
[`006bad1`](https://redirect.github.com/golangci/golangci-lint/commit/006bad1f9d26)
to 1.1.0
    -   `gosec`: from 2.21.4 to 2.22.0
    -   `iface`: from 1.3.0 to 1.3.1
    -   `nilnesserr`: from 0.1.1 to 0.1.2
    -   `protogetter`: from 0.3.8 to 0.3.9
    -   `sloglint`: from 0.7.2 to 0.9.0
    -   `spancheck`: fix default `StartSpanMatchersSlice` values
    -   `staticcheck`: from 0.5.1 to 0.6.0
4.  Deprecations
- ⚠️ `tenv` is deprecated and replaced by `usetesting.os-setenv: true`.
5.  Misc.
    -   Sanitize severities by output format
    -   Avoid panic with plugin without description
6.  Documentation
    -   Clarify `depguard` configuration

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/hetznercloud/hcloud-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: phm07 <[email protected]>
  • Loading branch information
renovate[bot] and phm07 authored Mar 6, 2025
1 parent 01c89f2 commit bf36a2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: golangci/golangci-lint-action@v6
with:
version: v1.63.4 # renovate: datasource=github-releases depName=golangci/golangci-lint
version: v1.64.6 # renovate: datasource=github-releases depName=golangci/golangci-lint

test:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build:

test:lint:
stage: test
image: golangci/golangci-lint:v1.63
image: golangci/golangci-lint:v1.64
script:
- golangci-lint run -v

Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ linters:
- errcheck
- errname
- exhaustive
- exportloopref
# - copyloopvar TODO: re-enable once go is upgraded to 1.22
- gci
- gocritic
- godot
Expand Down

0 comments on commit bf36a2e

Please sign in to comment.