api: vendor deps before tests
This commit is contained in:
parent
85456a019e
commit
73234832b6
@ -33,6 +33,7 @@ prod-go:
|
|||||||
GO111MODULE=on go build -mod=vendor -v -o $(GO_PROD_BUILD_BINARY)
|
GO111MODULE=on go build -mod=vendor -v -o $(GO_PROD_BUILD_BINARY)
|
||||||
|
|
||||||
test-go:
|
test-go:
|
||||||
|
GO111MODULE=on go mod vendor
|
||||||
go test -v .
|
go test -v .
|
||||||
|
|
||||||
$(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR))
|
$(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR))
|
||||||
|
Loading…
Reference in New Issue
Block a user