From f7b1afb67b349f8174ddff7510b705c0f3f905f8 Mon Sep 17 00:00:00 2001 From: Nick Irvine Date: Mon, 22 Jul 2019 16:42:01 -0700 Subject: [PATCH] pipeline: use -mod=vendor for tests (#185) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39e57321..078e38ca 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ VERSION := $(shell git describe --tags --always --dirty="-dev") LDFLAGS := -ldflags='-X "main.Version=$(VERSION)"' test: - GO111MODULE=on go test -v ./... + GO111MODULE=on go test -mod=vendor -v ./... all: dist/aws-okta-$(VERSION)-darwin-amd64 dist/aws-okta-$(VERSION)-linux-amd64