From b92d27ee7f68f2260c72a5ac093b8871c22c2f8c Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 15 Sep 2019 19:58:37 +1000 Subject: [PATCH] force underlying go commands under gox to use the vendor directory --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 49f8db644..7cdd01346 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: name: Compile project on every platform command: | go get github.com/mitchellh/gox - gox -mod=vendor -parallel 10 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64" + GOFLAGS=-mod=vendor gox -parallel 10 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64" - save_cache: key: pkg-cache-{{ checksum "go.sum" }}-v5 paths: