remove vendor from some tooling
This commit is contained in:
parent
35a5b40500
commit
8bfbafa790
|
@ -14,7 +14,6 @@ executors:
|
||||||
GOPROXY: https://proxy.golang.org/
|
GOPROXY: https://proxy.golang.org/
|
||||||
TEST_RESULTS_DIR: &TEST_RESULTS_DIR /tmp/test-results
|
TEST_RESULTS_DIR: &TEST_RESULTS_DIR /tmp/test-results
|
||||||
ARTIFACTS_DIR: &ARTIFACTS_DIR /tmp/artifacts
|
ARTIFACTS_DIR: &ARTIFACTS_DIR /tmp/artifacts
|
||||||
GOFLAGS: "-mod=vendor"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
go-checks:
|
go-checks:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ VERSION?="0.3.44"
|
||||||
# source files, except the protobuf stubs which are built instead with
|
# source files, except the protobuf stubs which are built instead with
|
||||||
# "make protobuf".
|
# "make protobuf".
|
||||||
generate:
|
generate:
|
||||||
GOFLAGS=-mod=vendor go generate ./...
|
go generate ./...
|
||||||
# go fmt doesn't support -mod=vendor but it still wants to populate the
|
# 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
|
# module cache with everything in go.mod even though formatting requires
|
||||||
# no dependencies, and so we're disabling modules mode for this right
|
# 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(
|
cmd := exec.Command(
|
||||||
"go", "build",
|
"go", "build",
|
||||||
"-mod=vendor",
|
|
||||||
"-o", tmpFilename,
|
"-o", tmpFilename,
|
||||||
pkgPath,
|
pkgPath,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue