mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(build): echo before running go fmt/vet
This commit is contained in:
parent
57d36b3d42
commit
5a7abe365c
@ -18,9 +18,13 @@ yarn install --pure-lockfile
|
||||
|
||||
exit_if_fail npm test
|
||||
|
||||
echo "running go fmt"
|
||||
exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
|
||||
exit_if_fail go run build.go build
|
||||
|
||||
echo "running go vet"
|
||||
exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
|
||||
|
||||
exit_if_fail go run build.go build
|
||||
exit_if_fail go test -v ./pkg/...
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user