This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 70516315a chore(go): bump to go 1.26 (#3969)
70516315a is described below
commit 70516315af412bfeb9be5d6209ca72a3b9f8070b
Author: David Li <[email protected]>
AuthorDate: Sat Feb 14 17:33:24 2026 +0900
chore(go): bump to go 1.26 (#3969)
See: https://github.com/apache/arrow-adbc/issues/3967
---
.env | 2 +-
.pre-commit-config.yaml | 2 +-
go/adbc/go.mod | 4 +++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.env b/.env
index 4fb2b9afc..3e5c1037a 100644
--- a/.env
+++ b/.env
@@ -33,7 +33,7 @@ MANYLINUX=2014
MAVEN=3.9.10
PLATFORM=linux/amd64
PYTHON=3.13
-GO=1.25.5
+GO=1.26.0
ARROW_MAJOR_VERSION=18
DOTNET=8.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 46aa848e1..1466f87ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -61,7 +61,7 @@ repos:
- "--linelength=90"
- "--verbose=2"
- repo: https://github.com/golangci/golangci-lint
- rev: e6ebea0145f385056bce15041d3244c0e5e15848 # frozen: v2.7.0
+ rev: 72798d34b1eb36745915b0d4eea5c2b3b31bdfe3 # frozen: v2.9.0
hooks:
- id: golangci-lint
entry: bash -c 'cd go/adbc && golangci-lint run --fix --timeout 5m'
diff --git a/go/adbc/go.mod b/go/adbc/go.mod
index 538f844b3..2c8f73edc 100644
--- a/go/adbc/go.mod
+++ b/go/adbc/go.mod
@@ -19,7 +19,9 @@ module github.com/apache/arrow-adbc/go/adbc
go 1.25.0
-toolchain go1.25.5
+// Only require 1.25, but prefer 1.26 to build to pick up latest CVE fixes in
+// Go itself.
+toolchain go1.26.0
require (
cloud.google.com/go/bigquery v1.73.1