Skip to content

Commit 0335b04

Browse files
zibuyu1995claude
andcommitted
ci: pin Go toolchain to 1.25.13
setup-go resolved `1.25.x` to go1.25.12 from the actions manifest, whose standard library carries GO-2026-6218, GO-2026-6090, GO-2026-5972 and GO-2026-5026. govulncheck reached all four through internal/client and main, failing the v0.1.0 release run. All four are fixed in go1.25.13. Pin the exact patch in every workflow, matching how the repository already pins actions, Terraform, GoReleaser and the scanners, and raise the go.mod minimum so local builds cannot silently link the vulnerable standard library either. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpUsd73mXSq8bGp6zDLGhX
1 parent 20b67e2 commit 0335b04

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2424
with:
25-
go-version: 1.25.x
25+
go-version: 1.25.13
2626
cache-dependency-path: go.sum
2727
- name: Initialize CodeQL
2828
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
1919
with:
20-
go-version: 1.25.x
20+
go-version: 1.25.13
2121
cache-dependency-path: go.sum
2222
- uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
2323
with:
@@ -79,7 +79,7 @@ jobs:
7979
fetch-depth: 0
8080
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
8181
with:
82-
go-version: 1.25.x
82+
go-version: 1.25.13
8383
cache-dependency-path: go.sum
8484
- name: Import GPG key
8585
id: import_gpg

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2121
with:
22-
go-version: 1.25.x
22+
go-version: 1.25.13
2323
cache-dependency-path: go.sum
2424
- name: Scan dependencies for known Go vulnerabilities
2525
run: go run golang.org/x/vuln/cmd/govulncheck@v1.1.4 ./...

.github/workflows/terraform_provider.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1818
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
1919
with:
20-
go-version: 1.25.x
20+
go-version: 1.25.13
2121
cache-dependency-path: go.sum
2222
- uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
2323
with:
@@ -73,7 +73,7 @@ jobs:
7373
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7474
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
7575
with:
76-
go-version: 1.25.x
76+
go-version: 1.25.13
7777
cache-dependency-path: go.sum
7878
- uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
7979
with:

go.mod

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

3-
go 1.25.8
3+
go 1.25.13
44

55
require (
66
github.com/hashicorp/terraform-plugin-framework v1.19.0

0 commit comments

Comments
 (0)