Skip to content

Commit

Permalink
feat: add govulncheck to Github actions (#2695)
Browse files Browse the repository at this point in the history
* feat: add govulncheck to Github actions

The x/vuln/govulncheck cmd can check and report security vulnerabilities
in the Go toolchain and dependencies imported by the project.

Depends on #2694 being merged.

See https://go.dev/blog/govulncheck.

* fix yaml formatting
  • Loading branch information
mauri870 committed Jun 5, 2024
1 parent 47649f3 commit bcd72d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
version: v1.52.2
env:
GOROOT: ''
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
check-contributors:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -154,6 +160,7 @@ jobs:
- check-api-doc
- validate-api-spec
- verify-codegen
- govulncheck
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
Expand Down

0 comments on commit bcd72d6

Please sign in to comment.