Skip to content

Commit 4678515

Browse files
committed
sca-scan.yml
1 parent 9193293 commit 4678515

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/sca-scan.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,10 @@ jobs:
66
security-sca:
77
runs-on: ubuntu-latest
88
steps:
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
9+
- uses: actions/checkout@master
1810
- name: Run Snyk to check for vulnerabilities
1911
uses: snyk/actions/dotnet@master
2012
env:
2113
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2214
with:
23-
args: --file=Contentstack.Core/obj/project.assets.json --fail-on=all
15+
args: --fail-on=all

0 commit comments

Comments
 (0)