feat: run govulncheck nightly on master branch (#11977)
This commit is contained in:
parent
f44e0d148c
commit
bf1353c090
|
|
@ -402,6 +402,16 @@ jobs:
|
||||||
--include "*.rpm" \
|
--include "*.rpm" \
|
||||||
--include "*.zip" \
|
--include "*.zip" \
|
||||||
--acl public-read
|
--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:
|
docker-nightly:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:current
|
image: ubuntu-2004:current
|
||||||
|
|
@ -843,3 +853,6 @@ workflows:
|
||||||
- amd64-package-test-nightly:
|
- amd64-package-test-nightly:
|
||||||
requires:
|
requires:
|
||||||
- 'amd64-package-nightly'
|
- 'amd64-package-nightly'
|
||||||
|
- govulncheck:
|
||||||
|
requires:
|
||||||
|
- 'nightly'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue