Bump golang to 1.19 and min allowed version to 1.18

This commit is contained in:
Adrian Aneci
2022-10-21 20:40:58 +03:00
parent 19bb0d0e86
commit b3df9aecc2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ REGISTRY ?= quay.io/oauth2-proxy
GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 15
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 18
GO_VERSION_VALIDATION_ERR_MSG = Golang version is not supported, please update to at least $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION).$(MINIMUM_SUPPORTED_GO_MINOR_VERSION)
ifeq ($(COVER),true)