Added govulncheck to CI and local verification

This commit is contained in:
Gaurav Patidar
2026-11-23 20:24:16 +05:30
parent d235be850e
commit 52a2a6ac87
4 changed files with 29 additions and 3 deletions
+12
View File
@@ -116,6 +116,18 @@ jobs:
# service, so parallel package runs delete each other's rows.
- run: go test -p 1 ./...
govulncheck:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
# The official action uses the Go version declared by go.mod and reports
# only vulnerabilities reachable from this module's packages.
- uses: golang/govulncheck-action@v1
with:
go-version-file: go.mod
go-package: ./...
shell:
runs-on: ubuntu-latest
steps: