From ff0ad85f7e8bcd5c677d99143f14a2a3aab533aa Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Fri, 22 Sep 2023 17:38:49 +0200 Subject: [PATCH] Update for Go 1.21 (#575) Enable CI testing of Go 1.21. * Bump Go modules. Signed-off-by: SuperQ --- .circleci/config.yml | 4 +++- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d53e4552..d8822179 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ version: 2.1 jobs: lint: docker: - - image: cimg/go:1.20 + - image: cimg/go:1.21 steps: - checkout - run: make check_license @@ -48,6 +48,7 @@ workflows: go_version: - "1.19" - "1.20" + - "1.21" - test: name: test-windows os: windows @@ -57,3 +58,4 @@ workflows: go_version: - "1.19" - "1.20" + - "1.21" diff --git a/go.mod b/go.mod index 95cd65f4..18971c88 100644 --- a/go.mod +++ b/go.mod @@ -5,5 +5,5 @@ go 1.19 require ( github.com/google/go-cmp v0.5.9 golang.org/x/sync v0.3.0 - golang.org/x/sys v0.11.0 + golang.org/x/sys v0.12.0 ) diff --git a/go.sum b/go.sum index 4d2f8b9d..1b5b75af 100644 --- a/go.sum +++ b/go.sum @@ -2,5 +2,5 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=