Skip to content

Commit f5f16ec

Browse files
fix(ci): resolve go-licenses failure by upgrading to Go 1.25.x
1 parent 7738966 commit f5f16ec

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,16 @@ jobs:
180180
with:
181181
node-version: 22.x
182182

183-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
183+
# Pin Go only for license generation
184+
- name: Use Go 1.25.1 for license scan
185+
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
184186
with:
185-
go-version: ">=1.23.0"
187+
go-version: "1.25.1"
188+
check-latest: true
189+
- name: Pin toolchain for this step
190+
run: |
191+
go version
192+
go env -w GOTOOLCHAIN=local
186193
187194
- name: Checkout Sample Web UI for license scan
188195
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)