Skip to content

Commit e5ca724

Browse files
author
Doyoon Kim
authored
Bump go version to 1.20 (#292)
* Bump go version to 1.20 * Update github action * Update Go version on docker build
1 parent 47a507a commit e5ca724

File tree

4 files changed

+101
-499
lines changed

4 files changed

+101
-499
lines changed

.github/workflows/presubmit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
1919
- uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.19 # Reenable this once we move the module to 1.19 ${{ env.GO_VERSION }}
21+
go-version: ${{ env.GO_VERSION }}
2222
check-latest: true
2323
- uses: actions/cache@v3
2424
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM docker.io/library/golang:1.19.7 as builder
2+
FROM docker.io/library/golang:1.20.5 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

go.mod

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,86 @@
11
module github.com/aws/aws-application-networking-k8s
22

3-
go 1.16
3+
go 1.20
44

55
require (
6-
github.com/aws/aws-sdk-go v1.42.18
6+
github.com/aws/aws-sdk-go v1.44.136
77
github.com/go-logr/logr v1.2.3
88
github.com/golang/glog v1.0.0
99
github.com/golang/mock v1.6.0
1010
github.com/onsi/ginkgo v1.16.5
1111
github.com/onsi/gomega v1.24.1
1212
github.com/pkg/errors v0.9.1
13-
github.com/stretchr/testify v1.8.1
13+
github.com/stretchr/testify v1.8.2
1414
k8s.io/api v0.26.1
15-
k8s.io/apiextensions-apiserver v0.26.1 // indirect
1615
k8s.io/apimachinery v0.26.1
1716
k8s.io/client-go v0.26.1
1817
sigs.k8s.io/controller-runtime v0.14.1
1918
sigs.k8s.io/gateway-api v0.6.1
2019
sigs.k8s.io/mcs-api v0.1.0
2120
)
2221

22+
require (
23+
github.com/beorn7/perks v1.0.1 // indirect
24+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
25+
github.com/davecgh/go-spew v1.1.1 // indirect
26+
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
27+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
28+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
29+
github.com/fsnotify/fsnotify v1.6.0 // indirect
30+
github.com/go-logr/zapr v1.2.3 // indirect
31+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
32+
github.com/go-openapi/jsonreference v0.20.0 // indirect
33+
github.com/go-openapi/swag v0.19.14 // indirect
34+
github.com/gogo/protobuf v1.3.2 // indirect
35+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
36+
github.com/golang/protobuf v1.5.2 // indirect
37+
github.com/google/gnostic v0.5.7-v3refs // indirect
38+
github.com/google/go-cmp v0.5.9 // indirect
39+
github.com/google/gofuzz v1.2.0 // indirect
40+
github.com/google/uuid v1.3.0 // indirect
41+
github.com/imdario/mergo v0.3.13 // indirect
42+
github.com/jmespath/go-jmespath v0.4.0 // indirect
43+
github.com/josharian/intern v1.0.0 // indirect
44+
github.com/json-iterator/go v1.1.12 // indirect
45+
github.com/kr/pretty v0.3.0 // indirect
46+
github.com/mailru/easyjson v0.7.6 // indirect
47+
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
48+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
49+
github.com/modern-go/reflect2 v1.0.2 // indirect
50+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
51+
github.com/nxadm/tail v1.4.8 // indirect
52+
github.com/pmezard/go-difflib v1.0.0 // indirect
53+
github.com/prometheus/client_golang v1.14.0 // indirect
54+
github.com/prometheus/client_model v0.3.0 // indirect
55+
github.com/prometheus/common v0.37.0 // indirect
56+
github.com/prometheus/procfs v0.8.0 // indirect
57+
github.com/rogpeppe/go-internal v1.8.1 // indirect
58+
github.com/spf13/pflag v1.0.5 // indirect
59+
go.uber.org/atomic v1.9.0 // indirect
60+
go.uber.org/multierr v1.6.0 // indirect
61+
go.uber.org/zap v1.24.0 // indirect
62+
golang.org/x/net v0.7.0 // indirect
63+
golang.org/x/oauth2 v0.5.0 // indirect
64+
golang.org/x/sys v0.6.0 // indirect
65+
golang.org/x/term v0.5.0 // indirect
66+
golang.org/x/text v0.7.0 // indirect
67+
golang.org/x/time v0.3.0 // indirect
68+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
69+
google.golang.org/appengine v1.6.7 // indirect
70+
google.golang.org/protobuf v1.28.1 // indirect
71+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
72+
gopkg.in/inf.v0 v0.9.1 // indirect
73+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
74+
gopkg.in/yaml.v2 v2.4.0 // indirect
75+
gopkg.in/yaml.v3 v3.0.1 // indirect
76+
k8s.io/apiextensions-apiserver v0.26.1 // indirect
77+
k8s.io/component-base v0.26.1 // indirect
78+
k8s.io/klog/v2 v2.80.1 // indirect
79+
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
80+
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448 // indirect
81+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
82+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
83+
sigs.k8s.io/yaml v1.3.0 // indirect
84+
)
85+
2386
replace github.com/aws/aws-sdk-go => ./scripts/aws_sdk_model_override/aws-sdk-go

0 commit comments

Comments
 (0)