Run nancy validation for all dependencies (#1243)
* Run nancy validation for all dependencies * Update pr-extra.yml Use `-json` flag
This commit is contained in:
parent
4f26f11ea3
commit
862ed88cf0
19
.github/workflows/pr-extra.yml
vendored
Normal file
19
.github/workflows/pr-extra.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Extra
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
jobs:
|
||||||
|
vulns:
|
||||||
|
name: Vulnerability scanner
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-go@v2
|
||||||
|
# We cannot use nancy-github-action because it is outdated, so it's better to use the latest
|
||||||
|
# docker image for the validation
|
||||||
|
- name: nancy
|
||||||
|
run: go list -json -m all | docker run -i sonatypecommunity/nancy:latest
|
Loading…
x
Reference in New Issue
Block a user