From f998d8ff23d8fe57ef188dae9b3c3ea75df66112 Mon Sep 17 00:00:00 2001 From: Kuba Kaflik Date: Thu, 12 Sep 2024 09:32:44 +0200 Subject: [PATCH] Revert the minimum required Go version to 1.21 (#1405) * Revert the minimum required Go version to 1.21 * Update README --- .github/workflows/run-tests-cloud.yml | 1 - .github/workflows/run-tests-head.yml | 1 - .github/workflows/run-tests.yml | 1 + README.md | 15 ++++++++------- go.mod | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-tests-cloud.yml b/.github/workflows/run-tests-cloud.yml index 872f6a0279..2069dfbb7b 100644 --- a/.github/workflows/run-tests-cloud.yml +++ b/.github/workflows/run-tests-cloud.yml @@ -22,7 +22,6 @@ jobs: matrix: go: - "1.23" - - "1.22" steps: - name: Check Out Code uses: actions/checkout@v3 diff --git a/.github/workflows/run-tests-head.yml b/.github/workflows/run-tests-head.yml index fb7e0e2a81..ad70cd3861 100644 --- a/.github/workflows/run-tests-head.yml +++ b/.github/workflows/run-tests-head.yml @@ -19,7 +19,6 @@ jobs: matrix: go: - "1.23" - - "1.22" steps: - uses: actions/checkout@main diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c3b461c43c..fddabedcfa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,6 +20,7 @@ jobs: go: - "1.23" - "1.22" + - "1.21" clickhouse: # https://github.com/ClickHouse/ClickHouse/blob/master/SECURITY.md#scope-and-supported-versions - "24.8" - "24.7" diff --git a/README.md b/README.md index 8b8484e669..533a90386a 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,14 @@ The client is tested against the currently [supported versions](https://github.c ## Supported Golang Versions -| Client Version | Golang Versions | -|----------------|-----------------| -| => 2.0 <= 2.2 | 1.17, 1.18 | -| >= 2.3 | 1.18.4+, 1.19 | -| >= 2.14 | 1.20, 1.21 | -| >= 2.19 | 1.21, 1.22 | -| >= 2.28 | 1.22, 1.23 | +| Client Version | Golang Versions | +|----------------|------------------| +| => 2.0 <= 2.2 | 1.17, 1.18 | +| >= 2.3 | 1.18.4+, 1.19 | +| >= 2.14 | 1.20, 1.21 | +| >= 2.19 | 1.21, 1.22 | +| >= 2.28 | 1.22, 1.23 | +| >= 2.29 | 1.21, 1.22, 1.23 | ## Documentation diff --git a/go.mod b/go.mod index 94fe9f05af..66239c40d7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ClickHouse/clickhouse-go/v2 -go 1.22 +go 1.21 require ( github.com/ClickHouse/ch-go v0.61.5