From 78f4f844f35ca18a9e834fa61b216ba166d13601 Mon Sep 17 00:00:00 2001 From: Saarthak Date: Sat, 4 Feb 2023 08:47:33 +0530 Subject: [PATCH] Updated Go Version from 1.19 to 1.20 All the files mentioned in issue #4202 have been updated with Go version 1.20 replacing version 1.19 Signed-off-by: Saarthak Maini --- .github/workflows/ci-all-in-one-build.yml | 2 +- .github/workflows/ci-build-binaries.yml | 2 +- .github/workflows/ci-cassandra.yml | 2 +- .github/workflows/ci-crossdock.yml | 2 +- .github/workflows/ci-docker-build.yml | 2 +- .github/workflows/ci-elasticsearch.yml | 2 +- .github/workflows/ci-grpc-badger.yml | 2 +- .github/workflows/ci-hotrod.yml | 2 +- .github/workflows/ci-kafka.yml | 2 +- .github/workflows/ci-opensearch.yml | 2 +- .github/workflows/ci-protogen-tests.yml | 2 +- .github/workflows/ci-release.yml | 2 +- .github/workflows/ci-unit-tests.yml | 2 +- .github/workflows/fossa.yml | 2 +- .golangci.yml | 4 ++-- docker/Makefile | 2 +- go.mod | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci-all-in-one-build.yml b/.github/workflows/ci-all-in-one-build.yml index 3bd36658a71..633cb753c2c 100644 --- a/.github/workflows/ci-all-in-one-build.yml +++ b/.github/workflows/ci-all-in-one-build.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c with: diff --git a/.github/workflows/ci-build-binaries.yml b/.github/workflows/ci-build-binaries.yml index 83bc1df68a9..c3de72cb3e3 100644 --- a/.github/workflows/ci-build-binaries.yml +++ b/.github/workflows/ci-build-binaries.yml @@ -48,7 +48,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Export BRANCH variable uses: ./.github/actions/setup-branch diff --git a/.github/workflows/ci-cassandra.yml b/.github/workflows/ci-cassandra.yml index 14488cad915..0994312bc69 100644 --- a/.github/workflows/ci-cassandra.yml +++ b/.github/workflows/ci-cassandra.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Run cassandra integration tests run: bash scripts/cassandra-integration-test.sh ${{ matrix.version.image }} ${{ matrix.version.schema }} diff --git a/.github/workflows/ci-crossdock.yml b/.github/workflows/ci-crossdock.yml index 67b0b705e6a..b577cfdd0a1 100644 --- a/.github/workflows/ci-crossdock.yml +++ b/.github/workflows/ci-crossdock.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Export BRANCH variable uses: ./.github/actions/setup-branch diff --git a/.github/workflows/ci-docker-build.yml b/.github/workflows/ci-docker-build.yml index 223e3eae41e..70010dca25f 100644 --- a/.github/workflows/ci-docker-build.yml +++ b/.github/workflows/ci-docker-build.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c with: diff --git a/.github/workflows/ci-elasticsearch.yml b/.github/workflows/ci-elasticsearch.yml index 080fa09d013..67f698a3895 100644 --- a/.github/workflows/ci-elasticsearch.yml +++ b/.github/workflows/ci-elasticsearch.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Install tools run: make install-ci diff --git a/.github/workflows/ci-grpc-badger.yml b/.github/workflows/ci-grpc-badger.yml index ef02b042839..f069db60800 100644 --- a/.github/workflows/ci-grpc-badger.yml +++ b/.github/workflows/ci-grpc-badger.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Run Badger storage integration tests run: make badger-storage-integration-test diff --git a/.github/workflows/ci-hotrod.yml b/.github/workflows/ci-hotrod.yml index 442ec95e899..c2434549f5d 100644 --- a/.github/workflows/ci-hotrod.yml +++ b/.github/workflows/ci-hotrod.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Export BRANCH variable uses: ./.github/actions/setup-branch diff --git a/.github/workflows/ci-kafka.yml b/.github/workflows/ci-kafka.yml index 3cb721b68d3..97d79f56464 100644 --- a/.github/workflows/ci-kafka.yml +++ b/.github/workflows/ci-kafka.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Run kafka integration tests run: bash scripts/kafka-integration-test.sh diff --git a/.github/workflows/ci-opensearch.yml b/.github/workflows/ci-opensearch.yml index fcbd34a22cb..563413bd9ed 100644 --- a/.github/workflows/ci-opensearch.yml +++ b/.github/workflows/ci-opensearch.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Install tools run: make install-ci diff --git a/.github/workflows/ci-protogen-tests.yml b/.github/workflows/ci-protogen-tests.yml index 0676fa9074c..a06b762afaa 100644 --- a/.github/workflows/ci-protogen-tests.yml +++ b/.github/workflows/ci-protogen-tests.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Run protogen validation run: make proto && git diff --name-status --exit-code diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 4b6d0a428fe..07847fc3c28 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c with: diff --git a/.github/workflows/ci-unit-tests.yml b/.github/workflows/ci-unit-tests.yml index 4179599c920..39053d54688 100644 --- a/.github/workflows/ci-unit-tests.yml +++ b/.github/workflows/ci-unit-tests.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Install tools run: make install-ci diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 38071e232f7..8c565093ee5 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: - go-version: 1.19.x + go-version: 1.20.x - name: Add GOPATH run: | diff --git a/.golangci.yml b/.golangci.yml index 64c96a7ef39..9d5ec08315d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,5 @@ run: - go: '1.19' + go: '1.20' timeout: 10m skip-dirs: - mocks @@ -27,7 +27,7 @@ linters-settings: - G404 - G601 gosimple: - go: "1.19" + go: "1.20" linters: enable: diff --git a/docker/Makefile b/docker/Makefile index 33ee9cd62a0..88d481ebdf9 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -1,7 +1,7 @@ VERSION := 1.0.0 ROOT_IMAGE ?= alpine:3.16 CERT_IMAGE := $(ROOT_IMAGE) -GOLANG_IMAGE := golang:1.19-alpine +GOLANG_IMAGE := golang:1.20-alpine DOCKER_REGISTRY ?= localhost:5000 BASE_IMAGE ?= $(DOCKER_REGISTRY)/baseimg_alpine:latest diff --git a/go.mod b/go.mod index be83adcfe12..b851f5c4133 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jaegertracing/jaeger -go 1.19 +go 1.20 require ( github.com/HdrHistogram/hdrhistogram-go v1.1.2