Skip to content

Commit 2f186fd

Browse files
committed
Use gomodules in subshell
1 parent 3960064 commit 2f186fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ gobuild: ## Build binary
6565

6666
.PHONY: gotest
6767
gotest:
68-
go test $(TESTOPTS) $(shell go list -mod=readonly -e ./... | egrep -v "/(vendor)/")
68+
go test $(TESTOPTS) $(shell GO111MODULE=$(GO111MODULE) go list -mod=readonly -e ./... | egrep -v "/(vendor)/")
6969

7070
.PHONY: envtest
7171
envtest: isclean

0 commit comments

Comments
 (0)