Skip to content

Commit c6840a9

Browse files
authored
Merge pull request #22 from beatlabs/vulnerability-check
2 parents 9291416 + 5c6f687 commit c6840a9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/snyk.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: security_check
2+
on: push
3+
jobs:
4+
security:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: Run Snyk to check for vulnerabilities
9+
uses: snyk/actions/golang@master
10+
env:
11+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# gomodctl [![actions](https://github.com/beatlabs/gomodctl/workflows/gomodctl%20build/badge.svg)](https://github.com/beatlabs/gomodctl/actions)
1+
# gomodctl [![actions](https://github.com/beatlabs/gomodctl/workflows/gomodctl%20build/badge.svg)](https://github.com/beatlabs/gomodctl/actions) ![security_check](https://github.com/beatlabs/gomodctl/workflows/security_check/badge.svg)
2+
23

34
*gomodctl* - search, check and update go modules.
45

0 commit comments

Comments
 (0)