diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa7d3bd8c4..f2c39427f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: publish draft release +name: release permissions: write-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/setup-go@v2.1.5 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: | @@ -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}' \ No newline at end of file diff --git a/.github/workflows/run-tests-cloud.yml b/.github/workflows/run-tests-cloud.yml index d7db86e48c..446768edc8 100644 --- a/.github/workflows/run-tests-cloud.yml +++ b/.github/workflows/run-tests-cloud.yml @@ -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 diff --git a/.github/workflows/run-tests-head.yml b/.github/workflows/run-tests-head.yml index 9a770978c9..15e0fedd17 100644 --- a/.github/workflows/run-tests-head.yml +++ b/.github/workflows/run-tests-head.yml @@ -18,8 +18,8 @@ jobs: max-parallel: 1 matrix: go: + - "1.23" - "1.22" - - "1.21" steps: - uses: actions/checkout@main diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 02ddc7008a..59409afaec 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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" diff --git a/contributors/list b/contributors/list index 5da1bfe924..8138350077 100644 --- a/contributors/list +++ b/contributors/list @@ -1 +1,198 @@ +Aaron Harlap +Abraham Adberstein +Aleksandr Petrukhin +Aleksandr Razumov +Alex Bocharov +Alex Yang +Alexander Chumakov +Alexander Obukhov +Alexey Milovidov +Alexey Palazhchenko +Alvaro Tuso +Andrey Ustinov +Andžej Maciusovič +Antoine Toulme +Anton Kozlov +Aram Peres <6775216+aramperes@users.noreply.github.com> +Ashish Gaurav +Ather Shu +Beck Xu +Benjamin Rupp +Cem Sancak +Chao Wang +Chris Duncan +Daguang <28806852+DGuang21@users.noreply.github.com> +Dale McDiarmid +Dale Mcdiarmid +Damir Sayfutdinov +Dan Walters +Daniel Bershatsky +Danila Migalin +Danny.Dunn +Darío +Dave Josephsen +Dean Karn +Denis Gukov +Denis Krivak +Denys +Derek Perkins +Dmitry Markov +Dmitry Ponomarev +Dmitry Ponomarev +Egor Samotoev <38672780+egsam98@users.noreply.github.com> +Egor.Gorlin +Eric Thomas +Eugene Formanenko +Evan Au +Ewan +Felipe Lema +Florian Lehner +Fredz <513317651@qq.com> +Félix Mattrat +Geoff Genz +GitHub Action +Gregory Petrosyan +Guoqiang +Ian McGraw +Ildarov Gazimagomed <60438666+threadedstream@users.noreply.github.com> +Ivan +Ivan Blinkov +Ivan Blinkov +Ivan Ivanov +Ivan Yurochko +Ivan Zhukov +Jake Sylvestre +Jakub Chábek +James Hartig +Jan Was +Jeehoon Kim +Jeway <152489546+xjeway@users.noreply.github.com> +Jimmie Han +John Troy +Jon Aquino +Julian Maicher +Kevin Joiner <10265309+KevinJoiner@users.noreply.github.com> +Kirill Shvakov +Kiswono Prayogo +Kuba Kaflik +LI Tao +LIU Chao <42240939+xiaochaoren1@users.noreply.github.com> +Larry Snizek <72978202+larry-cdn77@users.noreply.github.com> +Lars Lehtonen +Leo Di Donato +Louis +Luc Vieillescazes +Lukas Eklund +LuoJi Zhu +Maksim Sokolnikov +Marek Vavrusa +Marek Vavruša +Marek Vavruša +Marek Vavruša +Mark Andrus Roberts +Mark Roberts +Max Justus Spransy +Michael Vigovsky +Michail Safronov +Miel Donkers +Miel Donkers +Miel Donkers +Mikhail Shustov +Nathan J Mehl <70606471+n-oden@users.noreply.github.com> +Nay Linn +Nikita Mikhaylov +Nityananda Gohain +Oleg Strokachuk +Oleksandr Nikitin +Omurbek +Paweł Rozlach <2124609+vespian@users.noreply.github.com> +Philipp Schreiber +Richard Artoul +Robert Sköld +Robin Hahling +Roman Usachev +Rory Crispin +Ross Rothenstine +Ross Rothenstine +Ryan +Selboo +Serge Klochkov <3175289+slvrtrn@users.noreply.github.com> +Sergei Sobolev +Sergey Melekhin +Sergey Salnikov +Sergey Salnikov Shoshin Nikita +Shunsuke Otani +Srikanth Chekuri +Stepan Rabotkin <36516357+EpicStep@users.noreply.github.com> +Stepan Rabotkin +Stephane Moreau +Stephanie Hingtgen +Taras Matsyk +Thibault Deutsch +Tomasz Czubocha +Tommy Li +Tsimafei Bredau +Valerii Pozdiaev <12141268+ValManP@users.noreply.github.com> +Varun Vasan V +Vespertinus +Vincent Bernat +Vitaly Orlov +Vyacheslav Stepanov +YenchangChan <43897067+YenchangChan@users.noreply.github.com> +Yoga Setiawan +Yury Korolev +Yury Yurochko +Zachary <136084364+gogingersnap777@users.noreply.github.com> +Zhehao Wu +a-dot +albertlockett +alex +anton troyanov +astduman <41344369+Astemirdum@users.noreply.github.com> +caleb.xiang <90543061+cxiang03@users.noreply.github.com> +candiduslynx +chengzhi +chenlujjj <953546398@qq.com> +coldWater +count +daguang +daguang +dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +derN3rd +dmitry kuzmin +fengberlin +fengyun.rui +gaetan.rizio +guangwu +hexchain +hongker +hulb +ianmcgraw +ilker moral +jiyongwang +kshvakov +neverlee +nevseliev +ortyomka +pavel raskin +restrry +rogeryk +rtkaratekid <42547811+rtkaratekid@users.noreply.github.com> +sentanos +sundy-li <543950155@qq.com> +vahid sohrabloo +vasily.popov +viktorzaharov +vl4deee11 <44677024+vl4deee11@users.noreply.github.com> +vl4deee11 +vl4deee11 +vladislav doster +vogrelord +vpromzelev +vvoronin +yuankun +yujiarista <127893837+yujiarista@users.noreply.github.com> +zxc111 +zxc9007 +李盼 diff --git a/go.mod b/go.mod index 2fbe6f35ff..b7457df245 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/internal/cmd/release_prep/main.go b/internal/cmd/release/main.go similarity index 99% rename from internal/cmd/release_prep/main.go rename to internal/cmd/release/main.go index 2d434e8380..3dbed864bb 100644 --- a/internal/cmd/release_prep/main.go +++ b/internal/cmd/release/main.go @@ -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 }