From 862ed88cf0fb344617991086714af559b81f8640 Mon Sep 17 00:00:00 2001 From: Sergey Vilgelm Date: Thu, 16 Jul 2020 17:14:12 -0500 Subject: [PATCH] Run nancy validation for all dependencies (#1243) * Run nancy validation for all dependencies * Update pr-extra.yml Use `-json` flag --- .github/workflows/pr-extra.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr-extra.yml diff --git a/.github/workflows/pr-extra.yml b/.github/workflows/pr-extra.yml new file mode 100644 index 00000000..75acbb92 --- /dev/null +++ b/.github/workflows/pr-extra.yml @@ -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