Skip to content

Commit 60bc128

Browse files
Merge pull request #4190 from mxpv/ci-fix
Backport CI fix to 1.3
2 parents b3b3ea6 + 7a57e50 commit 60bc128

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

script/setup/install-dev-tools

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@
2020
#
2121
set -eu -o pipefail
2222

23-
go get -u github.com/stevvooe/protobuild
23+
# install the `protobuild` binary in $GOPATH/bin; requires module-aware install
24+
# to pin dependencies
25+
GO111MODULE=on go get github.com/stevvooe/protobuild
26+
27+
# the following packages need to exist in $GOPATH so we can't use
28+
# go modules-aware mode of `go get` for these includes used during
29+
# proto building
30+
GO111MODULE=off go get -d github.com/gogo/googleapis || true
31+
GO111MODULE=off go get -d github.com/gogo/protobuf || true
32+
2433
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
2534
go get -u github.com/cpuguy83/go-md2man
2635

0 commit comments

Comments
 (0)