fix: tools/ci-ts/package.json to reduce vulnerabilities #59
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: Dependency Vulnerability Check | |
on: [push] | |
jobs: | |
Go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.15 | |
id: go | |
- name: Write Go Modules list | |
run: go list -json -m all > go.list | |
- name: Check vulnerabilities | |
uses: sonatype-nexus-community/nancy-github-action@b492e6567a301a914bd227d44bf10dcfe85438ad | |
with: | |
nancyCommand: sleuth -e bba60acb-c7b5-4621-af69-f4085a8301d0,d373dc3f-aa88-483b-b501-20fe5382cc80,5def94e5-b89c-4a94-b9c6-ae0e120784c2 | |
# Check the dependency by entering the OSS index UUID here: | |
# https://ossindex.sonatype.org/vuln/bba60acb-c7b5-4621-af69-f4085a8301d0 | |
# | |
# To get more detail locally run `go list -json -m all | nancy sleuth` |