From d080d7e4e25186525c2746e8053a287b311a5d99 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Wed, 8 Feb 2023 20:47:11 +0300 Subject: [PATCH] Bump Golang to 1.20 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/test.yml | 8 ++++---- go.mod | 13 ++++++++++--- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93c06f8..105a20b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,14 @@ jobs: golang: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Golang - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.15.x + go-version: 1.20.x - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d45484..87a1e30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,14 +7,14 @@ jobs: golang: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Golang - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.15.x + go-version: 1.20.x - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/go.mod b/go.mod index 48ab1b8..e673f25 100644 --- a/go.mod +++ b/go.mod @@ -1,25 +1,32 @@ module github.com/aerokube/util -go 1.15 +go 1.20 + +require ( + github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e + github.com/docker/docker v0.7.3-0.20190629173937-e105a74c5419 +) require ( github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect github.com/Microsoft/go-winio v0.4.12 // indirect - github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e github.com/docker/distribution v2.7.1+incompatible // indirect - github.com/docker/docker v0.7.3-0.20190629173937-e105a74c5419 github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.4.0 // indirect github.com/gogo/protobuf v1.2.1 // indirect + github.com/golang/protobuf v1.2.0 // indirect github.com/google/go-cmp v0.3.0 // indirect github.com/gorilla/mux v1.7.3 // indirect + github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect github.com/opencontainers/go-digest v1.0.0-rc1 // indirect github.com/opencontainers/image-spec v1.0.1 // indirect github.com/pkg/errors v0.8.1 // indirect github.com/sirupsen/logrus v1.4.2 // indirect + golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb // indirect golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect + google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 // indirect google.golang.org/grpc v1.21.1 // indirect gotest.tools v2.2.0+incompatible // indirect )