From ffcc0dcf1bbd7f39ba64af25810bb38cc6e4e8f6 Mon Sep 17 00:00:00 2001 From: Gabor Szabad Date: Wed, 25 May 2022 11:07:40 +0100 Subject: [PATCH] Add security workflow with nancy --- .github/workflows/security.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000000..48a26ac690 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,16 @@ +name: Security +on: [push, pull_request] + +env: + GO_VERSION: 1.16 + +jobs: + nancy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: ${{ env.GO_VERSION }} + - run: go mod download && go list -json -m all > go.list + - uses: sonatype-nexus-community/nancy-github-action@main