Use validate-vet script from docker
It tests only changed files from commit. We can't expect vet fixes from all projects from vendor directory. Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
73eab50ed6
commit
6585cf0147
|
@ -9,7 +9,7 @@ validate() {
|
||||||
bash /go/src/github.com/docker/docker/hack/make/validate-dco
|
bash /go/src/github.com/docker/docker/hack/make/validate-dco
|
||||||
bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
|
bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
|
||||||
go get golang.org/x/tools/cmd/vet
|
go get golang.org/x/tools/cmd/vet
|
||||||
go vet github.com/docker/libcontainer/...
|
bash /go/src/github.com/docker/docker/hack/make/validate-vet
|
||||||
}
|
}
|
||||||
|
|
||||||
# run validations
|
# run validations
|
||||||
|
|
Loading…
Reference in New Issue