mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-07-29 11:32:59 +00:00
Don't vet vendored code.
Ideally, it would be vettable. Ideally, *this* codebase would be golintable. But, here we are, and neither ideal matches reality. C'est la vie.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ script:
|
||||
- go get github.com/prometheus/client_golang/...
|
||||
- go get github.com/cloudflare/redoctober
|
||||
- go test github.com/cloudflare/redoctober/...
|
||||
- go vet github.com/cloudflare/redoctober/...
|
||||
- go list github.com/cloudflare/redoctober/... | grep -v vendor | xargs go vet
|
||||
- ./scripts/validate-html-generation
|
||||
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -i sh -c {}
|
||||
- gover . coverprofile.txt
|
||||
|
||||
Reference in New Issue
Block a user