diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f140b35e53..c95c84af9a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -31,5 +31,5 @@ jobs: - name: Lint 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 diff --git a/.golangci.yml b/.golangci.yml index 1d73d65e0d..93dff1d174 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -69,5 +69,5 @@ issues: linters: [ typecheck ] run: - skip-files: + exclude-files: - endpoint/zz_generated.deepcopy.go diff --git a/Makefile b/Makefile index 251356a00a..8607969339 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ CONTROLLER_GEN=$(shell which controller-gen) endif 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 .PHONY: go-lint