Merge pull request #219 from BenTheElder/lint-timeout

avoid lint timeouts by downloading deps first
This commit is contained in:
Kubernetes Prow Robot 2023-04-05 17:07:47 -07:00 committed by GitHub
commit fda9fecbae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -28,4 +28,5 @@ go build -o "${REPO_ROOT}"/bin/golangci-lint github.com/golangci/golangci-lint/c
cd "${REPO_ROOT}"
# lint the main module
go mod download # fetch deps first to avoid including it in timeout
"${REPO_ROOT}"/bin/golangci-lint --config "${REPO_ROOT}/hack/tools/.golangci.yml" run ./...