Skip to content

Commit 6480766

Browse files
committed
fix: upgrade Go from 1.26.1 to 1.26.3 to patch stdlib vulnerabilities
1 parent b0c7ecb commit 6480766

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ concurrency:
3232
cancel-in-progress: true
3333

3434
env:
35-
GO_VERSION: "1.26.1"
35+
GO_VERSION: "1.26.3"
3636

3737
jobs:
3838
# -------------------------------------------------------------------------

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v5
2727
with:
28-
go-version: "1.26.1"
28+
go-version: "1.26.3"
2929
cache: true
3030

3131
- name: Run GoReleaser

.golangci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ linters:
1212
- copyloopvar
1313
- decorder
1414
- durationcheck
15-
- embeddedstructfieldcheck
1615
- errchkjson
1716
- errname
1817
- errorlint
@@ -45,11 +44,9 @@ linters:
4544
- nilnesserr
4645
- nilnil
4746
- noctx
48-
- nolintlint
4947
- nosprintfhostport
5048
- perfsprint
5149
- promlinter
52-
- protogetter
5350
- reassign
5451
- recvcheck
5552
- revive
@@ -137,6 +134,8 @@ linters:
137134
- gosec
138135
- wrapcheck
139136
- forbidigo
137+
- gocritic
138+
- usetesting
140139
- path: ^e2e/
141140
linters:
142141
- errcheck
@@ -153,6 +152,9 @@ linters:
153152
- path: ^internal/sim/
154153
linters:
155154
- wrapcheck
155+
- path: ^cmd/trace/cli/benchutil/
156+
linters:
157+
- usetesting
156158
- text: "`strat` is a misspelling"
157159
linters:
158160
- misspell

cmd/trace/cli/activity_render.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ func renderDotChart(w io.Writer, sty activityStyles, hourly []hourlyPoint, repos
325325
// renderContributionChart to enable it.
326326
var _ = renderBrailleChart // keep compiled while inactive
327327

328+
//nolint:maintidx // Complex rendering function kept compiled but inactive
328329
func renderBrailleChart(w io.Writer, sty activityStyles, hourly []hourlyPoint, repos []repoContribution) {
329330
// Agent breakdown header + total
330331
agentTotals := make(map[string]int)

go.mod

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)