diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 72aa83d636..b547756b28 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -28,9 +28,9 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.mod - id: go - name: Lint uses: golangci/golangci-lint-action@v6 with: + args: --timeout=30m version: v1.60 diff --git a/Makefile b/Makefile index 5db43d8672..5ffdfd0fc5 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,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.60.1 + @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.60.3 # Run the golangci-lint tool .PHONY: go-lint