Merge pull request #4188 from estesp/fix-proto-gen
Fix protobuild and CI check protos
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -162,12 +162,6 @@ jobs: | ||||
|           sudo chmod -R og+r /usr/local/include/google/protobuf/ | ||||
|           protoc --version | ||||
|  | ||||
|       - name: Go get gogo | ||||
|         env: | ||||
|           GO111MODULE: off | ||||
|         # Get proto files, ignore "package github.com/gogo/googleapis: no Go files in ~/go/src/github.com/gogo/googleapis" | ||||
|         run: go get -u github.com/gogo/googleapis || true | ||||
|  | ||||
|       - name: Install dev tools | ||||
|         env: | ||||
|           GO111MODULE: off | ||||
|   | ||||
| @@ -20,7 +20,16 @@ | ||||
| # | ||||
| set -eu -o pipefail | ||||
|  | ||||
| go get -u github.com/stevvooe/protobuild | ||||
| # install the `protobuild` binary in $GOPATH/bin; requires module-aware install | ||||
| # to pin dependencies | ||||
| GO111MODULE=on go get github.com/stevvooe/protobuild | ||||
|  | ||||
| # the following packages need to exist in $GOPATH so we can't use | ||||
| # go modules-aware mode of `go get` for these includes used during | ||||
| # proto building | ||||
| GO111MODULE=off go get -d github.com/gogo/googleapis || true | ||||
| GO111MODULE=off go get -d github.com/gogo/protobuf || true | ||||
|  | ||||
| go get -u github.com/golangci/golangci-lint/cmd/golangci-lint | ||||
| go get -u github.com/cpuguy83/go-md2man | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Estes
					Phil Estes