Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Go 1.21 ended support and require Go 1.22 #1378

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: publish draft release
name: release

permissions: write-all

Expand All @@ -10,19 +10,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
ref: main
fetch-depth: 0 # required to generate contributor list

- name: Install Go 1.21
- name: Install Go
uses: actions/[email protected]
with:
stable: false
go-version: 1.21
go-version: 1.22

- name: Prepare release
id: release_prep
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go run internal/cmd/release_prep/main.go
go run internal/cmd/release/main.go

- name: Commit and push hanges
run: |
Expand All @@ -34,6 +37,6 @@ jobs:

- name: Publish draft release
env:
RELEASE_API_URL: ${{ steps.release_prep.outputs.RELEASE_URL }}
RELEASE_API_URL: ${{ steps.release.outputs.RELEASE_URL }}
run: |
curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" $RELEASE_API_URL -d '{"draft": false}'
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
max-parallel: 1
matrix:
go:
- "1.23"
- "1.22"
- "1.21"
steps:
- name: Check Out Code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
max-parallel: 1
matrix:
go:
- "1.23"
- "1.22"
- "1.21"
steps:
- uses: actions/checkout@main

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
max-parallel: 1
matrix:
go:
- "1.23"
- "1.22"
- "1.21"
clickhouse: # https://github.com/ClickHouse/ClickHouse/blob/master/SECURITY.md#scope-and-supported-versions
- "24.7"
- "24.6"
Expand Down
197 changes: 197 additions & 0 deletions contributors/list
Original file line number Diff line number Diff line change
@@ -1 +1,198 @@
Aaron Harlap <[email protected]>
Abraham Adberstein <[email protected]>
Aleksandr Petrukhin <[email protected]>
Aleksandr Razumov <[email protected]>
Alex Bocharov <[email protected]>
Alex Yang <[email protected]>
Alexander Chumakov <[email protected]>
Alexander Obukhov <[email protected]>
Alexey Milovidov <[email protected]>
Alexey Palazhchenko <[email protected]>
Alvaro Tuso <[email protected]>
Andrey Ustinov <[email protected]>
Andžej Maciusovič <[email protected]>
Antoine Toulme <[email protected]>
Anton Kozlov <[email protected]>
Aram Peres <[email protected]>
Ashish Gaurav <[email protected]>
Ather Shu <[email protected]>
Beck Xu <[email protected]>
Benjamin Rupp <[email protected]>
Cem Sancak <[email protected]>
Chao Wang <[email protected]>
Chris Duncan <[email protected]>
Daguang <[email protected]>
Dale McDiarmid <[email protected]>
Dale Mcdiarmid <[email protected]>
Damir Sayfutdinov <[email protected]>
Dan Walters <[email protected]>
Daniel Bershatsky <[email protected]>
Danila Migalin <[email protected]>
Danny.Dunn <[email protected]>
Darío <[email protected]>
Dave Josephsen <[email protected]>
Dean Karn <[email protected]>
Denis Gukov <[email protected]>
Denis Krivak <[email protected]>
Denys <[email protected]>
Derek Perkins <[email protected]>
Dmitry Markov <[email protected]>
Dmitry Ponomarev <[email protected]>
Dmitry Ponomarev <[email protected]>
Egor Samotoev <[email protected]>
Egor.Gorlin <[email protected]>
Eric Thomas <[email protected]>
Eugene Formanenko <[email protected]>
Evan Au <[email protected]>
Ewan <[email protected]>
Felipe Lema <[email protected]>
Florian Lehner <[email protected]>
Fredz <[email protected]>
Félix Mattrat <[email protected]>
Geoff Genz <[email protected]>
GitHub Action <[email protected]>
Gregory Petrosyan <[email protected]>
Guoqiang <[email protected]>
Ian McGraw <[email protected]>
Ildarov Gazimagomed <[email protected]>
Ivan <[email protected]>
Ivan Blinkov <[email protected]>
Ivan Blinkov <[email protected]>
Ivan Ivanov <[email protected]>
Ivan Yurochko <[email protected]>
Ivan Zhukov <[email protected]>
Jake Sylvestre <[email protected]>
Jakub Chábek <[email protected]>
James Hartig <[email protected]>
Jan Was <[email protected]>
Jeehoon Kim <[email protected]>
Jeway <[email protected]>
Jimmie Han <[email protected]>
John Troy <[email protected]>
Jon Aquino <[email protected]>
Julian Maicher <[email protected]>
Kevin Joiner <[email protected]>
Kirill Shvakov <[email protected]>
Kiswono Prayogo <[email protected]>
Kuba Kaflik <[email protected]>
LI Tao <[email protected]>
LIU Chao <[email protected]>
Larry Snizek <[email protected]>
Lars Lehtonen <[email protected]>
Leo Di Donato <[email protected]>
Louis <[email protected]>
Luc Vieillescazes <[email protected]>
Lukas Eklund <[email protected]>
LuoJi Zhu <[email protected]>
Maksim Sokolnikov <[email protected]>
Marek Vavrusa <[email protected]>
Marek Vavruša <[email protected]>
Marek Vavruša <[email protected]>
Marek Vavruša <[email protected]>
Mark Andrus Roberts <[email protected]>
Mark Roberts <[email protected]>
Max Justus Spransy <[email protected]>
Michael Vigovsky <[email protected]>
Michail Safronov <[email protected]>
Miel Donkers <[email protected]>
Miel Donkers <[email protected]>
Miel Donkers <[email protected]>
Mikhail Shustov <[email protected]>
Nathan J Mehl <[email protected]>
Nay Linn <[email protected]>
Nikita Mikhaylov <[email protected]>
Nityananda Gohain <[email protected]>
Oleg Strokachuk <[email protected]>
Oleksandr Nikitin <[email protected]>
Omurbek <[email protected]>
Paweł Rozlach <[email protected]>
Philipp Schreiber <[email protected]>
Richard Artoul <[email protected]>
Robert Sköld <[email protected]>
Robin Hahling <[email protected]>
Roman Usachev <[email protected]>
Rory Crispin <[email protected]>
Ross Rothenstine <[email protected]>
Ross Rothenstine <[email protected]>
Ryan <[email protected]>
Selboo <[email protected]>
Serge Klochkov <[email protected]>
Sergei Sobolev <[email protected]>
Sergey Melekhin <[email protected]>
Sergey Salnikov <[email protected]>
Sergey Salnikov <[email protected]>
Shoshin Nikita <[email protected]>
Shunsuke Otani <[email protected]>
Srikanth Chekuri <[email protected]>
Stepan Rabotkin <[email protected]>
Stepan Rabotkin <[email protected]>
Stephane Moreau <[email protected]>
Stephanie Hingtgen <[email protected]>
Taras Matsyk <[email protected]>
Thibault Deutsch <[email protected]>
Tomasz Czubocha <[email protected]>
Tommy Li <[email protected]>
Tsimafei Bredau <[email protected]>
Valerii Pozdiaev <[email protected]>
Varun Vasan V <[email protected]>
Vespertinus <[email protected]>
Vincent Bernat <[email protected]>
Vitaly Orlov <[email protected]>
Vyacheslav Stepanov <[email protected]>
YenchangChan <[email protected]>
Yoga Setiawan <[email protected]>
Yury Korolev <[email protected]>
Yury Yurochko <[email protected]>
Zachary <[email protected]>
Zhehao Wu <[email protected]>
a-dot <[email protected]>
albertlockett <[email protected]>
alex <[email protected]>
anton troyanov <[email protected]>
astduman <[email protected]>
caleb.xiang <[email protected]>
candiduslynx <[email protected]>
chengzhi <[email protected]>
chenlujjj <[email protected]>
coldWater <[email protected]>
count <[email protected]>
daguang <[email protected]>
daguang <[email protected]>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
derN3rd <[email protected]>
dmitry kuzmin <[email protected]>
fengberlin <[email protected]>
fengyun.rui <[email protected]>
gaetan.rizio <[email protected]>
guangwu <[email protected]>
hexchain <[email protected]>
hongker <[email protected]>
hulb <[email protected]>
ianmcgraw <[email protected]>
ilker moral <[email protected]>
jiyongwang <[email protected]>
kshvakov <[email protected]>
neverlee <[email protected]>
nevseliev <[email protected]>
ortyomka <[email protected]>
pavel raskin <[email protected]>
restrry <[email protected]>
rogeryk <[email protected]>
rtkaratekid <[email protected]>
sentanos <[email protected]>
sundy-li <[email protected]>
vahid sohrabloo <[email protected]>
vasily.popov <[email protected]>
viktorzaharov <[email protected]>
vl4deee11 <[email protected]>
vl4deee11 <boi4enkovlad@yandex>
vl4deee11 <[email protected]>
vladislav doster <[email protected]>
vogrelord <[email protected]>
vpromzelev <[email protected]>
vvoronin <[email protected]>
yuankun <[email protected]>
yujiarista <[email protected]>
zxc111 <[email protected]>
zxc9007 <[email protected]>
李盼 <[email protected]>
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.21
go 1.22

require (
github.com/ClickHouse/ch-go v0.61.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func changelogFilePath() string {

func getRootPath() string {
wd, _ := os.Getwd()
rootPath := strings.Replace(wd, "internal/cmd/release_prep", "", 1)
rootPath := strings.Replace(wd, "internal/cmd/release", "", 1)
return rootPath
}

Expand Down
Loading