Update go version to 1.17
This includes the change to the pruned module graph with the converted go.mod for Go 1.17 https://go.dev/doc/go1.17#go-command
This commit is contained in:
		
							parent
							
								
									c278e0aa4e
								
							
						
					
					
						commit
						7eaf98b5fe
					
				|  | @ -20,10 +20,10 @@ jobs: | ||||||
|     - name: Check out code |     - name: Check out code | ||||||
|       uses: actions/checkout@v2 |       uses: actions/checkout@v2 | ||||||
| 
 | 
 | ||||||
|     - name: Set up Go 1.16 |     - name: Set up Go 1.17 | ||||||
|       uses: actions/setup-go@v2 |       uses: actions/setup-go@v2 | ||||||
|       with: |       with: | ||||||
|         go-version: 1.16.x |         go-version: 1.17.x | ||||||
|       id: go |       id: go | ||||||
| 
 | 
 | ||||||
|     - name: Get dependencies |     - name: Get dependencies | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| - [#1445](https://github.com/oauth2-proxy/oauth2-proxy/pull/1445) Fix docker container multi arch build issue by passing GOARCH details to make build (@jkandasa) | - [#1445](https://github.com/oauth2-proxy/oauth2-proxy/pull/1445) Fix docker container multi arch build issue by passing GOARCH details to make build (@jkandasa) | ||||||
| - [#1444](https://github.com/oauth2-proxy/oauth2-proxy/pull/1444) Update LinkedIn provider validate URL (@jkandasa) | - [#1444](https://github.com/oauth2-proxy/oauth2-proxy/pull/1444) Update LinkedIn provider validate URL (@jkandasa) | ||||||
| - [#1471](https://github.com/oauth2-proxy/oauth2-proxy/pull/1471) Update alpine to 3.15 (@AlexanderBabel) | - [#1471](https://github.com/oauth2-proxy/oauth2-proxy/pull/1471) Update alpine to 3.15 (@AlexanderBabel) | ||||||
|  | - [#1479](https://github.com/oauth2-proxy/oauth2-proxy/pull/1479) Update to Go 1.17 (@polarctos) | ||||||
| 
 | 
 | ||||||
| # V7.2.0 | # V7.2.0 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| #  cache sharing of the go mod download step. | #  cache sharing of the go mod download step. | ||||||
| # Go cross compilation is also faster than emulation the go compilation across | # Go cross compilation is also faster than emulation the go compilation across | ||||||
| #  multiple platforms. | #  multiple platforms. | ||||||
| FROM --platform=${BUILDPLATFORM} golang:1.16-buster AS builder | FROM --platform=${BUILDPLATFORM} golang:1.17-buster AS builder | ||||||
| 
 | 
 | ||||||
| # Copy sources | # Copy sources | ||||||
| WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy | WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy | ||||||
|  |  | ||||||
							
								
								
									
										49
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										49
									
								
								go.mod
								
								
								
								
							|  | @ -1,16 +1,14 @@ | ||||||
| module github.com/oauth2-proxy/oauth2-proxy/v7 | module github.com/oauth2-proxy/oauth2-proxy/v7 | ||||||
| 
 | 
 | ||||||
| go 1.16 | go 1.17 | ||||||
| 
 | 
 | ||||||
| require ( | require ( | ||||||
| 	github.com/Bose/minisentinel v0.0.0-20200130220412-917c5a9223bb | 	github.com/Bose/minisentinel v0.0.0-20200130220412-917c5a9223bb | ||||||
| 	github.com/alicebob/miniredis/v2 v2.13.0 | 	github.com/alicebob/miniredis/v2 v2.13.0 | ||||||
| 	github.com/benbjohnson/clock v1.1.1-0.20210213131748-c97fc7b6bee0 | 	github.com/benbjohnson/clock v1.1.1-0.20210213131748-c97fc7b6bee0 | ||||||
| 	github.com/bitly/go-simplejson v0.5.0 | 	github.com/bitly/go-simplejson v0.5.0 | ||||||
| 	github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect |  | ||||||
| 	github.com/bsm/redislock v0.7.0 | 	github.com/bsm/redislock v0.7.0 | ||||||
| 	github.com/coreos/go-oidc/v3 v3.0.0 | 	github.com/coreos/go-oidc/v3 v3.0.0 | ||||||
| 	github.com/frankban/quicktest v1.10.0 // indirect |  | ||||||
| 	github.com/fsnotify/fsnotify v1.4.9 | 	github.com/fsnotify/fsnotify v1.4.9 | ||||||
| 	github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 | 	github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 | ||||||
| 	github.com/go-redis/redis/v8 v8.2.3 | 	github.com/go-redis/redis/v8 v8.2.3 | ||||||
|  | @ -38,3 +36,48 @@ require ( | ||||||
| 	gopkg.in/square/go-jose.v2 v2.5.1 | 	gopkg.in/square/go-jose.v2 v2.5.1 | ||||||
| 	k8s.io/apimachinery v0.19.3 | 	k8s.io/apimachinery v0.19.3 | ||||||
| ) | ) | ||||||
|  | 
 | ||||||
|  | require ( | ||||||
|  | 	cloud.google.com/go v0.38.0 // indirect | ||||||
|  | 	github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect | ||||||
|  | 	github.com/beorn7/perks v1.0.1 // indirect | ||||||
|  | 	github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect | ||||||
|  | 	github.com/cespare/xxhash/v2 v2.1.1 // indirect | ||||||
|  | 	github.com/davecgh/go-spew v1.1.1 // indirect | ||||||
|  | 	github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | ||||||
|  | 	github.com/frankban/quicktest v1.10.0 // indirect | ||||||
|  | 	github.com/go-logr/logr v0.2.0 // indirect | ||||||
|  | 	github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect | ||||||
|  | 	github.com/golang/protobuf v1.4.3 // indirect | ||||||
|  | 	github.com/googleapis/gax-go/v2 v2.0.5 // indirect | ||||||
|  | 	github.com/hashicorp/hcl v1.0.0 // indirect | ||||||
|  | 	github.com/magiconair/properties v1.8.1 // indirect | ||||||
|  | 	github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||||||
|  | 	github.com/nxadm/tail v1.4.4 // indirect | ||||||
|  | 	github.com/pelletier/go-toml v1.2.0 // indirect | ||||||
|  | 	github.com/pmezard/go-difflib v1.0.0 // indirect | ||||||
|  | 	github.com/prometheus/client_model v0.2.0 // indirect | ||||||
|  | 	github.com/prometheus/common v0.15.0 // indirect | ||||||
|  | 	github.com/prometheus/procfs v0.2.0 // indirect | ||||||
|  | 	github.com/spf13/afero v1.1.2 // indirect | ||||||
|  | 	github.com/spf13/cast v1.3.0 // indirect | ||||||
|  | 	github.com/spf13/jwalterweatherman v1.0.0 // indirect | ||||||
|  | 	github.com/subosito/gotenv v1.2.0 // indirect | ||||||
|  | 	github.com/vmihailenco/tagparser v0.1.1 // indirect | ||||||
|  | 	github.com/yuin/gopher-lua v0.0.0-20191220021717-ab39c6098bdb // indirect | ||||||
|  | 	go.opencensus.io v0.22.2 // indirect | ||||||
|  | 	go.opentelemetry.io/otel v0.11.0 // indirect | ||||||
|  | 	golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect | ||||||
|  | 	golang.org/x/text v0.3.3 // indirect | ||||||
|  | 	golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect | ||||||
|  | 	google.golang.org/appengine v1.6.5 // indirect | ||||||
|  | 	google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect | ||||||
|  | 	google.golang.org/grpc v1.27.0 // indirect | ||||||
|  | 	google.golang.org/protobuf v1.24.0 // indirect | ||||||
|  | 	gopkg.in/ini.v1 v1.51.0 // indirect | ||||||
|  | 	gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | ||||||
|  | 	gopkg.in/yaml.v2 v2.3.0 // indirect | ||||||
|  | 	gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect | ||||||
|  | 	k8s.io/gengo v0.0.0-20201113003025-83324d819ded // indirect | ||||||
|  | 	k8s.io/klog/v2 v2.4.0 // indirect | ||||||
|  | ) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue