From 657a1f0f44b61725f1b8041bceef6f262ffcb770 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 8 Apr 2022 15:55:58 -0700 Subject: Bump up required Go version to 1.16 Bump up the required Go version to 1.16 so that we can assume that Go modules are enabled by default. Go 1.16 is the latest end-of-life release, so this makes it so that we support the latest end-of-life release (1.16), the current maintainance release (1.17), the current release (1.18), and future releases. This the same approach we took when we last bumped up the required Go version. Also update the ci.yml file to test with these versions. --- Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 139f259..b265b02 100644 --- a/Makefile +++ b/Makefile @@ -72,8 +72,6 @@ VERSION_FLAG := -X "main.version=$(if $(TAG_VERSION),$(TAG_VERSION),$(VERSION))" override GO_LINK_FLAGS += $(VERSION_FLAG) -extldflags "$(LDFLAGS)" override GO_FLAGS += --ldflags '$(GO_LINK_FLAGS)' -# Always use Go modules -export GO111MODULE = on # Use -trimpath if available ifneq "" "$(shell go help build | grep trimpath)" override GO_FLAGS += -trimpath -- cgit v1.2.3