diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c04b5e890..62c13d48f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -48,7 +48,7 @@ jobs: with: verify: true args: --timeout=30m - version: v2.1 + version: v2.2 # Run Spectral - name: Lint OpenAPI spec diff --git a/scripts/install-tools.sh b/scripts/install-tools.sh index f5b35aad0..321679f4b 100755 --- a/scripts/install-tools.sh +++ b/scripts/install-tools.sh @@ -17,7 +17,7 @@ # renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools CONTROLLER_TOOLS_GENERATOR_VERSION=v0.17.2 # renovate: datasource=github-releases depName=golangci/golangci-lint -GOLANG_CI_LINTER_VERSION=v2.1.6 +GOLANG_CI_LINTER_VERSION=v2.2.2 # Execute # scripts/install-tools.sh @@ -78,7 +78,7 @@ install_golangci() { install=true fi if [[ "$install" == true ]]; then - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/cc3567e3127d8530afb69be1b7bd20ba9ebcc7c1/install.sh \ + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/refs/tags/v2.2.2/install.sh \ | sh -s -- -b $(go env GOPATH)/bin "${GOLANG_CI_LINTER_VERSION}" fi }