Skip to content

Commit

Permalink
Update sca-scan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindbuilt authored Jul 9, 2024
1 parent 31bdf6b commit 8ea40db
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ jobs:
security-sca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout repository
uses: actions/checkout@master
- uses: snyk/actions/setup@master
- name: Setup .NET
uses: actions/[email protected]
- name: Restore dependencies
run: dotnet restore ./Contentstack.Utils.sln
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/dotnet@master
run: cd Contentstack.Utils && snyk test --fail-on=all
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --fail-on=all

0 comments on commit 8ea40db

Please sign in to comment.