Merge pull request #19 from goark/refactoring #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vulns | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
vulns: | |
name: Vulnerability scanner | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: install depm | |
run: go install github.com/goark/depm@latest | |
- name: WriteGoList | |
run: depm list --json > go.list | |
- name: Nancy | |
uses: sonatype-nexus-community/nancy-github-action@main |