Skip to content

Commit

Permalink
Add govulncheck to ci/cd
Browse files Browse the repository at this point in the history
Add govulncheck, a conservative static analyzer that checks the
reachability of vulnerabilities.

This provides an upper bound on the actual vulnerabilities that
are applicable, and is lower-noise than generic checks that check
if a vulnerable library is used.
  • Loading branch information
ties authored and randomthingsandstuff committed Mar 4, 2025
1 parent fb3d1f8 commit 1ba9185
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
with:
go-version-file: 'go.mod'

- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: 'go.mod'
go-package: ./...

- name: Test & Vet
run: make test vet

Expand Down

0 comments on commit 1ba9185

Please sign in to comment.