Skip to content

Commit 07aa3d0

Browse files
jingle2008claude
andcommitted
Upgrade Go toolchain to 1.26.1 to fix stdlib CVEs
Addresses GO-2026-4601 (net/url IPv6 parsing), GO-2026-4602 (os.Root FileInfo escape), GO-2026-4599 and GO-2026-4600 (crypto/x509), all fixed in go1.26.1. Updates CI workflows from go1.24 to go1.26 accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c3c29ef commit 07aa3d0

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.24"
19+
go-version: "1.26"
2020
- name: Setup dev tools
2121
run: make setup
2222
- name: Lint, test, coverage threshold
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up Go
3939
uses: actions/setup-go@v5
4040
with:
41-
go-version: "1.24"
41+
go-version: "1.26"
4242
- name: Setup dev tools
4343
run: make setup
4444
- name: Lint, test, coverage threshold

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: "1.24"
17+
go-version: "1.26"
1818
- name: Setup dev tools
1919
run: make setup
2020
- name: Run tests

go.mod

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
module github.com/jingle2008/toolkit
22

3-
go 1.24.0
4-
5-
toolchain go1.24.13
3+
go 1.26.1
64

75
require (
86
github.com/atotto/clipboard v0.1.4
97
github.com/charmbracelet/bubbles v0.21.0
108
github.com/charmbracelet/bubbletea v1.3.4
119
github.com/charmbracelet/glamour v0.9.1
1210
github.com/charmbracelet/lipgloss v1.1.0
13-
github.com/go-viper/mapstructure/v2 v2.4.0
1411
github.com/golangci/golangci-lint/v2 v2.3.1
1512
github.com/hashicorp/hcl/v2 v2.20.1
1613
github.com/mattn/go-runewidth v0.0.16
@@ -112,6 +109,7 @@ require (
112109
github.com/go-toolsmith/astp v1.1.0 // indirect
113110
github.com/go-toolsmith/strparse v1.1.0 // indirect
114111
github.com/go-toolsmith/typep v1.1.0 // indirect
112+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
115113
github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect
116114
github.com/gobwas/glob v0.2.3 // indirect
117115
github.com/gofrs/flock v0.12.1 // indirect

0 commit comments

Comments
 (0)