File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ go install github.com/golangci/golangci-lint/cmd/
[email protected] 2626
2727# the following packages need to exist in $GOPATH so we can't use
2828# go modules-aware mode of `go get` for these includes used during
29- # proto building
30- cd " $GOPATH "
31- GO111MODULE=off go get -d github.com/gogo/googleapis || true
32- GO111MODULE=off go get -d github.com/gogo/protobuf || true
29+ # proto building. From go1.22 `go get` is no longer supported
30+ # outside of a module in the legacy GOPATH mode, hence we manually
31+ # clone the packages in the $GOPATH
32+ GOGO_DIR=" $GOPATH /src/github.com/gogo"
33+ mkdir -p " $GOGO_DIR "
34+ cd " $GOGO_DIR "
35+ git clone https://github.com/gogo/googleapis
36+ git clone https://github.com/gogo/protobuf
You can’t perform that action at this time.
0 commit comments