From 53b0f2aa95f7f54d176b5e88859a73956d7d668b Mon Sep 17 00:00:00 2001 From: Ross Tannenbaum Date: Mon, 16 Sep 2024 01:17:11 -0700 Subject: [PATCH] Bump go version to 1.21 for main module and 1.22 for tools (#217) --- .github/workflows/ci.yml | 2 +- _integration-tests/go.mod | 2 +- _integration-tests/go.sum | 1 + go.mod | 2 +- go.sum | 1 + tools/go.mod | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da976dd..23cd98e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: ~1.19 + go-version: ~1.22 - uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/_integration-tests/go.mod b/_integration-tests/go.mod index 190d940..f8ee3dd 100644 --- a/_integration-tests/go.mod +++ b/_integration-tests/go.mod @@ -1,6 +1,6 @@ module golang.stackrox.io/grpc-http1/_integration-tests -go 1.19 +go 1.21.0 require ( github.com/stretchr/testify v1.9.0 diff --git a/_integration-tests/go.sum b/_integration-tests/go.sum index 4ff57d7..e97dbbb 100644 --- a/_integration-tests/go.sum +++ b/_integration-tests/go.sum @@ -5,6 +5,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/golang/glog v1.2.2 h1:1+mZ9upx1Dh6FmUTFR1naJ77miKiXgALjWOZ3NVFPmY= github.com/golang/glog v1.2.2/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/go.mod b/go.mod index ac88d8e..7e98acd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module golang.stackrox.io/grpc-http1 -go 1.19 +go 1.21.0 require ( github.com/coder/websocket v1.8.12 diff --git a/go.sum b/go.sum index 24a85d0..0793975 100644 --- a/go.sum +++ b/go.sum @@ -5,6 +5,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/golang/glog v1.2.2 h1:1+mZ9upx1Dh6FmUTFR1naJ77miKiXgALjWOZ3NVFPmY= github.com/golang/glog v1.2.2/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/tools/go.mod b/tools/go.mod index 55904da..1ebc20f 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module golang.stackrox.io/grpc-http1/tools -go 1.18 +go 1.22.0 require ( golang.org/x/lint v0.0.0-20210508222113-6edffad5e616