File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Based on https://app.datadoghq.com/ci/setup/static-analysis?provider=github
2
+ on : [push]
3
+
4
+ jobs :
5
+ check-quality :
6
+ runs-on : ubuntu-latest
7
+ name : Datadog Static Analyzer
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v3
11
+ - name : Check code meets quality standards
12
+ id : datadog-static-analysis
13
+ uses : DataDog/datadog-static-analyzer-github-action@v1
14
+ with :
15
+ dd_api_key : ${{ secrets.DD_API_KEY }}
16
+ dd_app_key : ${{ secrets.DD_APP_KEY }}
17
+ dd_service : dd-trace-dotnet
18
+ dd_site : datadoghq.com
19
+ dd_env : ci
20
+ cpu_count : 2
21
+
Original file line number Diff line number Diff line change
1
+ rulesets :
2
+ - csharp-best-practices # ensure best practices are followed
3
+ - csharp-code-style # code-style enforcement for C#
4
+ - csharp-inclusive # ensure that we use inclusive wording in our codebase
5
+ - csharp-security # ensure your C# code is safe and secure
You can’t perform that action at this time.
0 commit comments