Skip to content

Commit 6e66472

Browse files
authored
Update shiftleft-analysis.yml
add dotnet build steps
1 parent 53fadff commit 6e66472

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/shiftleft-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
# 2. Compile or build the project before invoking scan
1818
# Example: mvn compile, or npm install or pip install goes here
1919
# 3. Invoke Scan with the github token. Leave the workspace empty to use relative url
20+
- name: Setup .NET Core
21+
uses: actions/setup-dotnet@v1
22+
with:
23+
dotnet-version: 3.1.301
24+
- name: Install dependencies
25+
run: dotnet restore
26+
- name: Build
27+
run: dotnet build --configuration Release --no-restore
28+
# End .NET Core setup steps
2029

2130
- name: Perform Scan
2231
uses: ShiftLeftSecurity/scan-action@master

0 commit comments

Comments
 (0)