Skip to content

Commit

Permalink
ci(vuln): add workflow for vulnerability scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Jan 24, 2022
1 parent 69de49b commit c102506
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.go text eol=lf
19 changes: 19 additions & 0 deletions .github/workflows/vuln.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Vuln
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
- name: Run go list
run: go list -json -m all > go.list
- name: Nancy
uses: sonatype-nexus-community/nancy-github-action@v1.0.2

0 comments on commit c102506

Please sign in to comment.