File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,11 @@ test-unit:
2525validate-go :
2626 build/ci/climate -t 80 -o internal
2727 build/ci/climate -t 80 -o internal/regionsrv
28+ go mod verify
2829
2930 @which gofmt >/dev/null 2>/dev/null || (echo "ERROR: gofmt not found." && false)
30- test -z "$$(gofmt -s -l . | grep -vE '^vendor/' | tee /dev/stderr)"
31+ test -z "$$(gofmt -s -l . | tee /dev/stderr)"
3132 @which staticcheck >/dev/null 2>/dev/null || echo "WARNING: staticcheck not found." || true
3233 @which "staticcheck" >/dev/null 2>/dev/null && "$$(staticcheck -tests=false 2>&1 | tee /dev/stderr)" || true
3334 @go doc cmd/vet >/dev/null 2>/dev/null || (echo "ERROR: go vet not found." && false)
34- test -z "$$(go vet $$(go list $(PROJECT)/... | grep -vE '^vendor/') 2>&1 | tee /dev/stderr)"
35-
36- mod :
37- export GO111MODULE=on \
38- go mod tidy && \
39- go mod vendor && \
40- go mod verify
35+ test -z "$$(go vet $$(go list $(PROJECT)/... ) 2>&1 | tee /dev/stderr)"
You can’t perform that action at this time.
0 commit comments