Skip to content

Commit 8a7c8d9

Browse files
committed
Merge branch 'static_code_analysis' of github.com:ByteDecoder/ByteDecoder.Common into static_code_analysis
2 parents 95e29f8 + 8a9e128 commit 8a7c8d9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: Build
3333
run: cd src && dotnet build --configuration Release --no-restore
3434

35+
- name: Security Code Scan
36+
run: cd src && ./run-security-code-scan.sh
37+
3538
- name: Linting code with dotnet-format
3639
run: cd src && ./run-dotnet-format.sh
3740

src/run-security-code-scan.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
set -e
3+
4+
dotnet tool update security-scan
5+
dotnet security-scan ./ByteDecoder.Common.sln

0 commit comments

Comments
 (0)