From dd687af2e7fd9011ad2e607a6cb5be009b03de38 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Wed, 9 Mar 2022 13:34:14 +0100 Subject: [PATCH] chore: Update to Go 1.17 (#411) --- .github/workflows/pre-release.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/reviewdog.yml | 2 +- .github/workflows/tests.yml | 2 +- go.mod | 27 ++++++++++++++++++++++++++- 5 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 55e1f2d9..92a9c50a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -77,7 +77,7 @@ jobs: needs: prepare strategy: matrix: - go-version: [ 1.16.x ] + go-version: [ 1.17.x ] platform: [ ubuntu-latest ] runs-on: ${{ matrix.platform }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bbcd1e7..31f01a04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: needs: prepare strategy: matrix: - go-version: [ 1.16.x ] + go-version: [ 1.17.x ] platform: [ ubuntu-latest ] runs-on: ${{ matrix.platform }} env: diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index f4dfcaa7..a85259b8 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -9,7 +9,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.16 + go-version: 1.17 id: go - name: Check out code. uses: actions/checkout@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01aa57f9..72256204 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.16.x] + go-version: [1.17.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} env: diff --git a/go.mod b/go.mod index fcb5bbd4..a4e5d665 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/keptn/go-utils -go 1.16 +go 1.17 require ( github.com/benbjohnson/clock v1.3.0 @@ -16,4 +16,29 @@ require ( gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b ) +require ( + github.com/cenkalti/backoff/v4 v4.1.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/felixge/httpsnoop v1.0.2 // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/json-iterator/go v1.1.10 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.2.0 // indirect + go.opentelemetry.io/otel/internal/metric v0.25.0 // indirect + go.opentelemetry.io/otel/metric v0.25.0 // indirect + go.opentelemetry.io/proto/otlp v0.10.0 // indirect + go.uber.org/atomic v1.4.0 // indirect + go.uber.org/multierr v1.1.0 // indirect + go.uber.org/zap v1.10.0 // indirect + golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect + golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7 // indirect + golang.org/x/text v0.3.6 // indirect + google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect + google.golang.org/grpc v1.42.0 // indirect + google.golang.org/protobuf v1.27.1 // indirect +) + replace golang.org/x/net => golang.org/x/net v0.0.0-20211205041911-012df41ee64c