remove vendor from some tooling

pull/26358/head
James Bardin 6 years ago
parent 35a5b40500
commit 8bfbafa790

@ -14,7 +14,6 @@ executors:
GOPROXY: https://proxy.golang.org/
TEST_RESULTS_DIR: &TEST_RESULTS_DIR /tmp/test-results
ARTIFACTS_DIR: &ARTIFACTS_DIR /tmp/artifacts
GOFLAGS: "-mod=vendor"
jobs:
go-checks:

@ -5,7 +5,7 @@ VERSION?="0.3.44"
# source files, except the protobuf stubs which are built instead with
# "make protobuf".
generate:
GOFLAGS=-mod=vendor go generate ./...
go generate ./...
# go fmt doesn't support -mod=vendor but it still wants to populate the
# module cache with everything in go.mod even though formatting requires
# no dependencies, and so we're disabling modules mode for this right

@ -265,7 +265,6 @@ func GoBuild(pkgPath, tmpPrefix string) string {
cmd := exec.Command(
"go", "build",
"-mod=vendor",
"-o", tmpFilename,
pkgPath,
)

Loading…
Cancel
Save