diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3be0cce3f8..2f43cf45c2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -40,7 +40,7 @@ jobs: uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: working-directory: ${{ matrix.directory }} - version: v1.61.0 # renovate: datasource=github-tags depName=golangci/golangci-lint + version: v1.62.0 # renovate: datasource=github-tags depName=golangci/golangci-lint njs-lint: name: NJS Lint diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55250b151a..68331e06ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - javascript - repo: https://github.com/golangci/golangci-lint - rev: v1.61.0 + rev: v1.62.0 hooks: - id: golangci-lint-full name: golangci-lint-root diff --git a/Makefile b/Makefile index cf939238f0..682572d8ed 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,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.61.0 +GOLANGCI_LINT_VERSION = v1.62.0 # renovate: datasource=docker depName=kindest/node KIND_K8S_VERSION = v1.31.1 # renovate: datasource=github-tags depName=norwoodj/helm-docs diff --git a/tests/suite/reconfig_test.go b/tests/suite/reconfig_test.go index d2787f3e61..aa39e2c366 100644 --- a/tests/suite/reconfig_test.go +++ b/tests/suite/reconfig_test.go @@ -194,7 +194,7 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("nfr", "r if err := k8sClient.List(ctx, &routes); err != nil { return fmt.Errorf("error getting HTTPRoutes: %w", err) } - Expect(len(routes.Items)).To(BeNumerically("==", resourceCount*3)) + Expect(routes.Items).To(HaveLen(resourceCount * 3)) var pods core.PodList if err := k8sClient.List(ctx, &pods); err != nil {