From 51bddd826ef29e5807b581dd037110e4502127cf Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 29 Jul 2021 11:21:16 +0200 Subject: go mod: set version to 1.16 & drop explicit "-mod=vendor" from ci This makes "go build" automatically use the vendor directory, if present. See https://golang.org/doc/modules/gomod-ref#go for details. Up to now, we ignored the vendor dir completely! Fixes https://github.com/rfjakob/gocryptfs/issues/581 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8720678..8f76420 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,6 @@ ci: go clean -modcache # GOPROXY=off makes sure we fail instead of making network requests # (we should not need any!) - GOPROXY=off ./build.bash -mod=vendor + GOPROXY=off ./build.bash # Delete "vendor" dir git clean -dxff -- cgit v1.2.3