Skip to content

Commit de17612

Browse files
authored
Upgrade Go to 1.25.10 (#4532)
1 parent 54e9748 commit de17612

5 files changed

Lines changed: 20 additions & 11 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
- name: make-lint
4949
run: make lint
5050
env:
51+
# actions/setup-go@v6 exports GOTOOLCHAIN=local via $GITHUB_ENV; override at the
52+
# step level so go.mod's `go` directive can bootstrap a newer toolchain via the
53+
# module proxy when the runner image lags behind.
54+
GOTOOLCHAIN: auto
5155
BUF_BREAKING_AGAINST_INPUT: "https://github.com/bufbuild/buf.git#branch=main"
5256
BUF_INPUT_HTTPS_USERNAME: ${{ github.actor }}
5357
BUF_INPUT_HTTPS_PASSWORD: ${{ github.token }}

.github/workflows/previous.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ jobs:
4141
${{ runner.os }}-${{ matrix.go-version }}-buf-
4242
- name: make-test
4343
run: make test
44+
env:
45+
# actions/setup-go@v6 exports GOTOOLCHAIN=local via $GITHUB_ENV; override at the
46+
# step level so go.mod's `go` directive can bootstrap a newer toolchain via the
47+
# module proxy when the runner image lags behind.
48+
GOTOOLCHAIN: auto

.pre-commit-hooks.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
- id: buf-generate
22
name: buf generate
33
language: golang
4-
language_version: 1.25.7
4+
language_version: 1.25.10
55
entry: buf generate
66
types: [proto]
77
pass_filenames: false
88
- id: buf-build
99
name: buf build
1010
language: golang
11-
language_version: 1.25.7
11+
language_version: 1.25.10
1212
entry: buf build
1313
types: [proto]
1414
pass_filenames: false
1515
- id: buf-breaking
1616
name: buf breaking
1717
language: golang
18-
language_version: 1.25.7
18+
language_version: 1.25.10
1919
entry: buf breaking
2020
types: [proto]
2121
pass_filenames: false
2222
- id: buf-lint
2323
name: buf lint
2424
language: golang
25-
language_version: 1.25.7
25+
language_version: 1.25.10
2626
entry: buf lint
2727
types: [proto]
2828
pass_filenames: false
2929
- id: buf-format
3030
name: buf format
3131
language: golang
32-
language_version: 1.25.7
32+
language_version: 1.25.10
3333
entry: buf format -w --exit-code
3434
types: [proto]
3535
pass_filenames: false
3636
- id: buf-dep-update
3737
name: buf dep update
3838
language: golang
39-
language_version: 1.25.7
39+
language_version: 1.25.10
4040
entry: buf dep update
4141
files: '(buf\.lock|buf\.yaml)'
4242
pass_filenames: false
4343
- id: buf-dep-prune
4444
name: buf dep prune
4545
language: golang
46-
language_version: 1.25.7
46+
language_version: 1.25.10
4747
entry: buf dep prune
4848
files: '(buf\.lock|buf\.yaml)'
4949
pass_filenames: false
5050
# Deprecated: use buf-dep-update instead.
5151
- id: buf-mod-update
5252
name: buf mod update
5353
language: golang
54-
language_version: 1.25.7
54+
language_version: 1.25.10
5555
entry: buf mod update
5656
files: '(buf\.lock|buf\.yaml)'
5757
pass_filenames: false
5858
# Deprecated: use buf-dep-prune instead.
5959
- id: buf-mod-prune
6060
name: buf mod prune
6161
language: golang
62-
language_version: 1.25.7
62+
language_version: 1.25.10
6363
entry: buf mod prune
6464
files: '(buf\.lock|buf\.yaml)'
6565
pass_filenames: false

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bufbuild/buf
22

3-
go 1.25.6
3+
go 1.25.10
44

55
require (
66
buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.11-20250718181942-e35f9b667443.1

make/go/go.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ GO_TEST_WASM_BINS ?=
2525
# Settable
2626
GO_GET_PKGS ?=
2727
# Settable
28-
GO_MOD_VERSION ?= 1.25.6
28+
GO_MOD_VERSION ?= 1.25.10
2929
# Settable
3030
GO_MOD_TOOLCHAIN ?=
3131
# Settable

0 commit comments

Comments
 (0)