Skip to content

Commit 5ffa01e

Browse files
committed
Replace gosec with govulncheck for Go 1.26.0 compatibility
1 parent fa3b75e commit 5ffa01e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,8 @@ jobs:
109109
${{ runner.os }}-go-1.21.13-
110110
${{ runner.os }}-go-
111111
112-
- name: Run security scan
113-
uses: securego/gosec@v2.24.0
114-
with:
115-
args: '-fmt sarif -out gosec.sarif -stdout -verbose=text -exclude=G101 -exclude=G303 -exclude=G204 -exclude=G302 -exclude=G301 -exclude=G304 ./...'
112+
- name: Run vulnerability check
113+
run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
116114

117115
- name: Upload security results
118116
uses: github/codeql-action/upload-sarif@v4

0 commit comments

Comments
 (0)