Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit b3df9ae

Browse files
committed
Bump golang to 1.19 and min allowed version to 1.18
1 parent 19bb0d0 commit b3df9ae

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
1111
WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ REGISTRY ?= quay.io/oauth2-proxy
1010
GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
1111
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
1212
MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
13-
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 15
13+
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 18
1414
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)
1515

1616
ifeq ($(COVER),true)

0 commit comments

Comments
 (0)