Skip to content

Commit 4c3d7ae

Browse files
authored
Update sca-scan.yml
1 parent c207304 commit 4c3d7ae

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/sca-scan.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@ jobs:
66
security-sca:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
9+
- name: Checkout repository
10+
uses: actions/checkout@master
11+
- name: Setup .NET Core @ Latest
12+
uses: actions/setup-dotnet@v1
13+
with:
14+
dotnet-version: "7.0.x"
15+
- name: Run Dotnet Restore
16+
run: |
17+
dotnet restore
1018
- name: Run Snyk to check for vulnerabilities
1119
uses: snyk/actions/dotnet@master
1220
env:
1321
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1422
with:
15-
args: --fail-on=all
23+
args: --file=Contentstack.Core/obj/project.assets.json --fail-on=all

0 commit comments

Comments
 (0)