feat: run govulncheck nightly on master branch (#11977)

This commit is contained in:
Joshua Powers 2022-10-18 00:07:11 -06:00 committed by GitHub
parent f44e0d148c
commit bf1353c090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -402,6 +402,16 @@ jobs:
--include "*.rpm" \
--include "*.zip" \
--acl public-read
govulncheck:
executor: telegraf-ci
steps:
- checkout
- run:
name: Install latest govulncheck
command: go install golang.org/x/vuln/cmd/govulncheck@latest
- run:
name: Scan master with govulncheck
command: govulncheck ./...
docker-nightly:
machine:
image: ubuntu-2004:current
@ -843,3 +853,6 @@ workflows:
- amd64-package-test-nightly:
requires:
- 'amd64-package-nightly'
- govulncheck:
requires:
- 'nightly'