Change to GOPATH before go get

So it won't touch go.mod

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu
2020-11-22 00:28:27 +08:00
parent 819ac05f34
commit 56672b961d
3 changed files with 5 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
#
set -eu -o pipefail
cd "$GOPATH"
go get -u github.com/onsi/ginkgo/ginkgo
CRITEST_COMMIT=0f5f734a7e1da0979915c6e7d5b6641bd9dc2627
go get -d github.com/kubernetes-sigs/cri-tools/...