git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #1851 from adriananeci/bump_go

Bump golang to 1.19 and min allowed version to 1.18

commitd9a33df29de4aac19384ca6e31a52469a6df90ed authorJoel Speed <Joel.speed@hotmail.co.uk> dateSun 23 Oct 2022, 11:44 (4 years ago) parent19bb0d02f1feca
4 files changed+5−4
.github/workflows/ci.yaml+2−2 CHANGELOG.md+1 Dockerfile+1−1 Makefile+1−1
.github/workflows/ci.yaml+2−2
@@ -20,10 +20,10 @@ jobs:
2020 - name: Check out code
2121 uses: actions/checkout@v2
2222
23− - name: Set up Go 1.18
23+ - name: Set up Go 1.19
2424 uses: actions/setup-go@v2
2525 with:
26− go-version: 1.18.x
26+ go-version: 1.19.x
2727 id: go
2828
2929 - name: Get dependencies
CHANGELOG.md+1
@@ -39,6 +39,7 @@ to remain consistent with CLI flags. You should specify `code_challenge_method`
3939- [#1825](https://github.com/oauth2-proxy/oauth2-proxy/pull/1825) Fix vulnerabilities CVE-2022-32149 and CVE-2022-27664. (@crbednarz)
4040- [#1750](https://github.com/oauth2-proxy/oauth2-proxy/pull/1750) Fix Nextcloud provider
4141- [#1574](https://github.com/oauth2-proxy/oauth2-proxy/pull/1574) Add Azure groups support and Azure OAuth v2.0 (@adriananeci)
42+- [#1851](https://github.com/oauth2-proxy/oauth2-proxy/pull/1851) Bump golang to 1.19 and min allowed version to 1.18
4243
4344# V7.3.0
4445
Dockerfile+1−1
@@ -5,7 +5,7 @@ ARG RUNTIME_IMAGE=alpine:3.16
55# cache sharing of the go mod download step.
66# Go cross compilation is also faster than emulation the go compilation across
77# multiple platforms.
8−FROM --platform=${BUILDPLATFORM} golang:1.18-buster AS builder
8+FROM --platform=${BUILDPLATFORM} golang:1.19-buster AS builder
99
1010# Copy sources
1111WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
Makefile+1−1
@@ -10,7 +10,7 @@ REGISTRY ?= quay.io/oauth2-proxy
1010GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
1111GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
1212MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
13−MINIMUM_SUPPORTED_GO_MINOR_VERSION = 15
13+MINIMUM_SUPPORTED_GO_MINOR_VERSION = 18
1414GO_VERSION_VALIDATION_ERR_MSG = Golang version is not supported, please update to at least $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION).$(MINIMUM_SUPPORTED_GO_MINOR_VERSION)
1515
1616ifeq ($(COVER),true)