Skip to content

Commit 89f3fed

Browse files
haasonsaasclaude
andcommitted
fix: pin gosec to v2.24.0 for Go 1.24 compatibility
gosec v2.25.0 requires Go 1.25+, which breaks the Security Checks workflow running Go 1.24. Pin to v2.24.0, the last version supporting Go 1.24. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 93da850 commit 89f3fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
go-version: '1.24'
1919

2020
- name: Install gosec
21-
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
21+
run: go install github.com/securego/gosec/v2/cmd/gosec@v2.24.0
2222

2323
- name: Install govulncheck
2424
run: go install golang.org/x/vuln/cmd/govulncheck@latest

0 commit comments

Comments
 (0)