From 60984bd19e35ac99d60f63f35d6168233194187c Mon Sep 17 00:00:00 2001 From: Ryan Currah Date: Sat, 9 May 2020 16:13:29 -0400 Subject: [PATCH] add snyk --- .github/workflows/snyk.yml | 11 +++++++++++ README.md | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/snyk.yml diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml new file mode 100644 index 0000000..58b544f --- /dev/null +++ b/.github/workflows/snyk.yml @@ -0,0 +1,11 @@ +name: Snyk +on: push +jobs: + security: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/golang@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} diff --git a/README.md b/README.md index f0f092a..0589956 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # gomodguard -[![codecov](https://codecov.io/gh/ryancurrah/gomodguard/branch/master/graph/badge.svg)](https://codecov.io/gh/ryancurrah/gomodguard) +![Codecov](https://img.shields.io/codecov/c/gh/ryancurrah/gomodguard?style=flat-square) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ryancurrah/gomodguard/Go?logo=Go&style=flat-square)