Merge pull request #219 from BenTheElder/lint-timeout
avoid lint timeouts by downloading deps first
This commit is contained in:
commit
fda9fecbae
|
|
@ -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 ./...
|
||||
|
|
|
|||
Loading…
Reference in New Issue