Skip to content

Commit a1a63fe

Browse files
authored
chore: Update CI with Go 1.25/1.26 (#725)
### Rationale for this change We follow the standard go policy of supporting N - 1 where N is the latest version of Go. Several dependencies have already updated to a minimum of go1.25 so we need to do the same. ### What changes are included in this PR? - Update .env default Go version to 1.25.8 - Update CI workflows to test Go 1.25 and 1.26, removing 1.24: - test.yml: Update all test matrices (docker, macos, windows) - benchmark.yml: Update to Go 1.26.1 - lint.yml: Update to Go 1.25 ### Are these changes tested? Yes ### Are there any user-facing changes? Starting with our next version, our go.mod will list go1.25 as our minimum
1 parent d41e0b5 commit a1a63fe

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ REPO=ghcr.io/apache/arrow-go
2828
DEBIAN=12
2929

3030
# Default versions for various dependencies
31-
GO=1.24.6
31+
GO=1.25.8

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
strategy:
3434
matrix:
35-
go: ['1.24.3']
35+
go: ['1.26.1']
3636
arch: ['amd64']
3737
steps:
3838
- name: Checkout repository

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Go
4747
uses: actions/setup-go@def8c394e3ad351a79bc93815e4a585520fe993b # v6.2.0
4848
with:
49-
go-version: '1.24'
49+
go-version: '1.25'
5050
cache: true
5151
cache-dependency-path: go.sum
5252
- name: Install pre-commit

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ jobs:
4040
include:
4141
- arch-label: AMD64
4242
arch: amd64
43-
go: 1.24
43+
go: 1.25
4444
runs-on: ubuntu-latest
4545
- arch-label: ARM64
4646
arch: arm64v8
47-
go: 1.24
47+
go: 1.25
4848
runs-on: ubuntu-24.04-arm
4949
- arch-label: AMD64
5050
arch: amd64
51-
go: 1.25
51+
go: 1.26
5252
runs-on: ubuntu-latest
5353
- arch-label: ARM64
5454
arch: arm64v8
55-
go: 1.25
55+
go: 1.26
5656
runs-on: ubuntu-24.04-arm
5757
env:
5858
ARCH: ${{ matrix.arch }}
@@ -88,8 +88,8 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
go:
91-
- '1.24'
9291
- '1.25'
92+
- '1.26'
9393
env:
9494
GO: ${{ matrix.go }}
9595
steps:
@@ -128,8 +128,8 @@ jobs:
128128
fail-fast: false
129129
matrix:
130130
go:
131-
- '1.24'
132131
- '1.25'
132+
- '1.26'
133133
env:
134134
GO: ${{ matrix.go }}
135135
steps:
@@ -168,8 +168,8 @@ jobs:
168168
fail-fast: false
169169
matrix:
170170
go:
171-
- '1.24'
172171
- '1.25'
172+
- '1.26'
173173
steps:
174174
- name: Checkout
175175
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v5.0.1
@@ -195,8 +195,8 @@ jobs:
195195
fail-fast: false
196196
matrix:
197197
go:
198-
- '1.24'
199198
- '1.25'
199+
- '1.26'
200200
env:
201201
ARROW_GO_TESTCGO: "1"
202202
steps:
@@ -229,8 +229,8 @@ jobs:
229229
fail-fast: false
230230
matrix:
231231
go:
232-
- '1.24'
233232
- '1.25'
233+
- '1.26'
234234
steps:
235235
- name: Checkout
236236
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v5.0.1

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
repos:
1919
- repo: https://github.com/golangci/golangci-lint
20-
rev: v2.4.0
20+
rev: v2.11.3
2121
hooks:
2222
# no built-in support for multiple go.mod
2323
# https://github.com/golangci/golangci-lint/issues/828

0 commit comments

Comments
 (0)