From 8d83423f405176cc32f5dd50e3555571b5c109f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Thu, 3 Aug 2023 10:16:13 -0700 Subject: [PATCH] update to Go 1.20 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/compatibility-check-template.yml | 2 +- .github/workflows/compatibility-check.yml | 2 +- .github/workflows/downstream.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 2 +- tools/batch-script/go.mod | 2 +- tools/compatibility-check/go.mod | 2 +- tools/constructorcheck/go.mod | 2 +- tools/golangci-lint/go.mod | 4 ++-- tools/maprange/go.mod | 2 +- tools/unkeyed/go.mod | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 2700635531..a6be162cda 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -13,7 +13,7 @@ on: - 'v**' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9601b694a2..5a5e483d72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: - 'v**' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index eab3c6b3f8..f7be868fdf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ on: - 'v**' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/.github/workflows/compatibility-check-template.yml b/.github/workflows/compatibility-check-template.yml index 85879a62d3..fb849eafda 100644 --- a/.github/workflows/compatibility-check-template.yml +++ b/.github/workflows/compatibility-check-template.yml @@ -21,7 +21,7 @@ on: type: string env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ inputs.base-branch || github.run_id }}-${{ inputs.chain }} diff --git a/.github/workflows/compatibility-check.yml b/.github/workflows/compatibility-check.yml index 9c67e53b09..7c79e5ce10 100644 --- a/.github/workflows/compatibility-check.yml +++ b/.github/workflows/compatibility-check.yml @@ -23,7 +23,7 @@ on: - 'v**' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ inputs.base || github.run_id }} diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 3f7862a6e0..bcdb98447a 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -13,7 +13,7 @@ on: - 'v**' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b51740600f..d79b11148c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ on: default: 'master' env: - GO_VERSION: '1.19.2' + GO_VERSION: '1.20' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/go.mod b/go.mod index dcfe9cae70..6dfc1fb807 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence -go 1.18 +go 1.20 require ( github.com/bits-and-blooms/bitset v1.5.0 diff --git a/tools/batch-script/go.mod b/tools/batch-script/go.mod index 50521aad3a..39fb396bfa 100644 --- a/tools/batch-script/go.mod +++ b/tools/batch-script/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence/tools/batch-script -go 1.18 +go 1.20 require ( github.com/onflow/cadence v0.21.2 diff --git a/tools/compatibility-check/go.mod b/tools/compatibility-check/go.mod index 9cb961cde1..baed296863 100644 --- a/tools/compatibility-check/go.mod +++ b/tools/compatibility-check/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence/tools/compatibility_check -go 1.19 +go 1.20 require ( github.com/onflow/cadence v0.31.2-0.20230207221811-9eb6e7fe4121 diff --git a/tools/constructorcheck/go.mod b/tools/constructorcheck/go.mod index 1a9332f039..92a60226b2 100644 --- a/tools/constructorcheck/go.mod +++ b/tools/constructorcheck/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence/tools/constructorcheck -go 1.19 +go 1.20 require golang.org/x/tools v0.6.0 diff --git a/tools/golangci-lint/go.mod b/tools/golangci-lint/go.mod index 07fa12d3f7..cd92d2b227 100644 --- a/tools/golangci-lint/go.mod +++ b/tools/golangci-lint/go.mod @@ -1,6 +1,6 @@ -module github.com/filecoin-project/tools/golangci-lint +module github.com/onflow/cadence/tools/golangci-lint -go 1.19 +go 1.20 require github.com/golangci/golangci-lint v1.51.2 diff --git a/tools/maprange/go.mod b/tools/maprange/go.mod index f606575814..bc581c315e 100644 --- a/tools/maprange/go.mod +++ b/tools/maprange/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence/tools/maprange -go 1.19 +go 1.20 require golang.org/x/tools v0.6.0 diff --git a/tools/unkeyed/go.mod b/tools/unkeyed/go.mod index b002306faf..bb7edb9629 100644 --- a/tools/unkeyed/go.mod +++ b/tools/unkeyed/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/cadence/tools/unkeyed -go 1.19 +go 1.20 require ( golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9