Skip to content

Commit

Permalink
Revert the minimum required Go version to 1.21 (#1405)
Browse files Browse the repository at this point in the history
* Revert the minimum required Go version to 1.21

* Update README
  • Loading branch information
jkaflik authored Sep 12, 2024
1 parent b352f6e commit f998d8f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/run-tests-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
matrix:
go:
- "1.23"
- "1.22"
steps:
- name: Check Out Code
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run-tests-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
matrix:
go:
- "1.23"
- "1.22"
steps:
- uses: actions/checkout@main

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f998d8f

Please sign in to comment.