Skip to content

Commit

Permalink
ci: run govulncheck during build-and-test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tri-adam committed Oct 6, 2022
1 parent 5f74dfe commit 55df102
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ jobs:
name: Check Test Corpus Tidiness
command: git diff --exit-code --

check-vulnerabilities:
executor: golang-latest
steps:
- checkout
- run:
name: Install govulncheck
command: go install golang.org/x/vuln/cmd/govulncheck@latest
- run:
name: Check for vulnerabilities
command: govulncheck ./...

build-source:
parameters:
e:
Expand Down Expand Up @@ -114,6 +125,7 @@ workflows:
- lint-source
- check-go-mod
- check-test-corpus
- check-vulnerabilities
- build-source:
matrix:
parameters:
Expand Down

0 comments on commit 55df102

Please sign in to comment.