mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 09:06:58 +02:00
chore(ci): update golangci-lint to v1.57.2 (#4406)
* update lint version Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * update version Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * fix golangci lint warning Signed-off-by: dongjiang1989 <dongjiang1989@126.com> --------- Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
This commit is contained in:
parent
a7a2286439
commit
7f86c75b96
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@ -31,5 +31,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
|
||||||
make lint
|
make lint
|
||||||
|
@ -69,5 +69,5 @@ issues:
|
|||||||
linters: [ typecheck ]
|
linters: [ typecheck ]
|
||||||
|
|
||||||
run:
|
run:
|
||||||
skip-files:
|
exclude-files:
|
||||||
- endpoint/zz_generated.deepcopy.go
|
- endpoint/zz_generated.deepcopy.go
|
||||||
|
2
Makefile
2
Makefile
@ -45,7 +45,7 @@ CONTROLLER_GEN=$(shell which controller-gen)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
golangci-lint:
|
golangci-lint:
|
||||||
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
|
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
|
||||||
|
|
||||||
# Run the golangci-lint tool
|
# Run the golangci-lint tool
|
||||||
.PHONY: go-lint
|
.PHONY: go-lint
|
||||||
|
Loading…
Reference in New Issue
Block a user