move go vet out of scripts and fixing warning (#12552)
This commit is contained in:
committed by
Torkel Ödegaard
parent
25bcdbcab1
commit
8b32dc5847
@@ -13,9 +13,6 @@ function exit_if_fail {
|
||||
echo "running go fmt"
|
||||
exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
|
||||
|
||||
echo "running go vet"
|
||||
exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
|
||||
|
||||
echo "building backend with install to cache pkgs"
|
||||
exit_if_fail time go install ./pkg/cmd/grafana-server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user