remove vendor from some tooling

This commit is contained in:
James Bardin 2020-09-23 16:57:36 -04:00
parent 35a5b40500
commit 8bfbafa790
3 changed files with 1 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

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