Skip to content

Commit fa74dd7

Browse files
authored
chore(go): update supported Go versions to 1.25.8 and 1.26.1 (#1583)
* chore(go): update supported Go versions to 1.25.8 and 1.26.1 * test(g117): persist BurntSushi toml dependency for sample builds
1 parent cd1f29e commit fa74dd7

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
strategy:
1212
matrix:
1313
version:
14-
- go-version: "1.25.7"
14+
- go-version: "1.25.8"
1515
golangci: "latest"
16-
- go-version: "1.26.0"
16+
- go-version: "1.26.1"
1717
golangci: "latest"
1818
runs-on: ubuntu-latest
1919
env:
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup go
5353
uses: actions/setup-go@v6
5454
with:
55-
go-version: "1.26.0"
55+
go-version: "1.26.1"
5656
- name: Checkout Source
5757
uses: actions/checkout@v6
5858
- uses: actions/cache@v5
@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup go
7373
uses: actions/setup-go@v6
7474
with:
75-
go-version: "1.26.0"
75+
go-version: "1.26.1"
7676
- name: Checkout Source
7777
uses: actions/checkout@v6
7878
- uses: actions/cache@v5

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v6
2222
with:
23-
go-version: "1.26.0"
23+
go-version: "1.26.1"
2424
- name: Install Cosign
2525
uses: sigstore/cosign-installer@v4.0.0
2626
with:

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module github.com/securego/gosec/v2
22

33
require (
4+
github.com/BurntSushi/toml v0.3.1
45
github.com/anthropics/anthropic-sdk-go v1.26.0
56
github.com/ccojocar/zxcvbn-go v1.0.4
67
github.com/google/uuid v1.6.0

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
3939
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
4040
contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc=
4141
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
42+
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
4243
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
4344
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
4445
github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=

testutils/deps_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package testutils
2+
3+
import (
4+
// Keep TOML encoder dependency used by G117 test samples in go.mod/go.sum.
5+
_ "github.com/BurntSushi/toml"
6+
)

0 commit comments

Comments
 (0)