File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches : [ main, release ]
6
+ pull_request :
7
+ # The branches below must be a subset of the branches above
8
+ branches : [ main ]
9
+
10
+ jobs :
11
+ analyze :
12
+ name : Analyze
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ actions : read
16
+ contents : read
17
+ security-events : write
18
+
19
+ strategy :
20
+ fail-fast : false
21
+ matrix :
22
+ language : [ 'csharp' ]
23
+
24
+ steps :
25
+ - name : Checkout repository
26
+ uses : actions/checkout@v2
27
+ with :
28
+ fetch-depth : 0 # patch around Nerdbank.GitVersioning failure
29
+
30
+ # Initializes the CodeQL tools for scanning.
31
+ - name : Initialize CodeQL
32
+ uses : github/codeql-action/init@v1
33
+ with :
34
+ languages : ${{ matrix.language }}
35
+
36
+ - run : |
37
+ dotnet build
38
+
39
+ - name : Perform CodeQL Analysis
40
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments