Skip to content

Commit 85c2c95

Browse files
miledxzrenovate[bot]Kate Osbornsjberman
committed
Update dependency golangci/golangci-lint to v1.62.0 (nginx#2765)
* Update dependency golangci/golangci-lint to v1.62.0 | datasource | package | from | to | | ----------- | ---------------------- | ------- | ------- | | github-tags | golangci/golangci-lint | v1.61.0 | v1.62.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Fix gomega assertion in reconfig_test.go --------- 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: Kate Osborn <[email protected]> Co-authored-by: Saylor Berman <[email protected]>
1 parent a425cc6 commit 85c2c95

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
4141
with:
4242
working-directory: ${{ matrix.directory }}
43-
version: v1.61.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
43+
version: v1.62.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
4444

4545
njs-lint:
4646
name: NJS Lint

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- javascript
4040

4141
- repo: https://github.com/golangci/golangci-lint
42-
rev: v1.61.0
42+
rev: v1.62.0
4343
hooks:
4444
- id: golangci-lint-full
4545
name: golangci-lint-root

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GO_LINKER_FLAGS = $(GO_LINKER_FLAGS_OPTIMIZATIONS) $(GO_LINKER_FlAGS_VARS)
2424

2525
# tools versions
2626
# renovate: datasource=github-tags depName=golangci/golangci-lint
27-
GOLANGCI_LINT_VERSION = v1.61.0
27+
GOLANGCI_LINT_VERSION = v1.62.0
2828
# renovate: datasource=docker depName=kindest/node
2929
KIND_K8S_VERSION = v1.31.1
3030
# renovate: datasource=github-tags depName=norwoodj/helm-docs

tests/suite/reconfig_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("nfr", "r
194194
if err := k8sClient.List(ctx, &routes); err != nil {
195195
return fmt.Errorf("error getting HTTPRoutes: %w", err)
196196
}
197-
Expect(len(routes.Items)).To(BeNumerically("==", resourceCount*3))
197+
Expect(routes.Items).To(HaveLen(resourceCount * 3))
198198

199199
var pods core.PodList
200200
if err := k8sClient.List(ctx, &pods); err != nil {

0 commit comments

Comments
 (0)