mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
update golangci-lint to v2.2.2
Signed-off-by: dongjiang <dongjiang1989@126.com>
This commit is contained in:
parent
789494f10b
commit
19d142ead3
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
verify: true
|
verify: true
|
||||||
args: --timeout=30m
|
args: --timeout=30m
|
||||||
version: v2.1
|
version: v2.2
|
||||||
|
|
||||||
# Run Spectral
|
# Run Spectral
|
||||||
- name: Lint OpenAPI spec
|
- name: Lint OpenAPI spec
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
|
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
|
||||||
CONTROLLER_TOOLS_GENERATOR_VERSION=v0.17.2
|
CONTROLLER_TOOLS_GENERATOR_VERSION=v0.17.2
|
||||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||||
GOLANG_CI_LINTER_VERSION=v2.1.6
|
GOLANG_CI_LINTER_VERSION=v2.2.2
|
||||||
|
|
||||||
# Execute
|
# Execute
|
||||||
# scripts/install-tools.sh
|
# scripts/install-tools.sh
|
||||||
@ -78,7 +78,7 @@ install_golangci() {
|
|||||||
install=true
|
install=true
|
||||||
fi
|
fi
|
||||||
if [[ "$install" == true ]]; then
|
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}"
|
| sh -s -- -b $(go env GOPATH)/bin "${GOLANG_CI_LINTER_VERSION}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user