Skip to content

Commit

Permalink
Update dependency golangci/golangci-lint to v1.63.3 (nginx#2965)
Browse files Browse the repository at this point in the history
* Update dependency golangci/golangci-lint to v1.63.3

| datasource  | package                | from    | to      |
| ----------- | ---------------------- | ------- | ------- |
| github-tags | golangci/golangci-lint | v1.62.2 | v1.63.3 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix lint error

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luca Comellini <[email protected]>
  • Loading branch information
renovate[bot] and lucacome authored Jan 3, 2025
1 parent 53bd0e0 commit 8ac863e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
working-directory: ${{ matrix.directory }}
version: v1.62.2 # renovate: datasource=github-tags depName=golangci/golangci-lint
version: v1.63.3 # renovate: datasource=github-tags depName=golangci/golangci-lint

njs-lint:
name: NJS Lint
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
- javascript

- repo: https://github.com/golangci/golangci-lint
rev: v1.62.2
rev: v1.63.3
hooks:
- id: golangci-lint-full
name: golangci-lint-root
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GO_LINKER_FLAGS = $(GO_LINKER_FLAGS_OPTIMIZATIONS) $(GO_LINKER_FlAGS_VARS)

# tools versions
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION = v1.62.2
GOLANGCI_LINT_VERSION = v1.63.3
# renovate: datasource=docker depName=kindest/node
KIND_K8S_VERSION = v1.32.0
# renovate: datasource=github-tags depName=norwoodj/helm-docs
Expand Down
2 changes: 1 addition & 1 deletion internal/mode/static/state/resolver/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ func bench(b *testing.B, svcNsName types.NamespacedName,
list discoveryV1.EndpointSliceList, initSet initEndpointSetFunc, n int,
) {
b.Helper()
for i := 0; i < b.N; i++ {
for range b.N {
res, err := resolveEndpoints(svcNsName, v1.ServicePort{Port: 80}, list, initSet, dualAddressType)
if len(res) != n {
b.Fatalf("expected %d endpoints, got %d", n, len(res))
Expand Down

0 comments on commit 8ac863e

Please sign in to comment.