File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change
1
+ # https://github.com/github/codeql
2
+ # https://github.com/github/codeql-action
1
3
name : CodeQL analysis
2
4
3
5
on :
9
11
jobs :
10
12
analyze :
11
13
runs-on : ubuntu-latest
14
+
12
15
steps :
13
- - uses : actions/checkout@v2
16
+ - name : Checkout source
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Setup .NET Core SDK
20
+ uses : actions/setup-dotnet@v1
14
21
with :
15
- fetch-depth : 2
16
- - uses : github/codeql-action/init@v1
22
+ dotnet-version : ' 5.0.x'
23
+
24
+ - name : Initialize CodeQL
25
+ uses : github/codeql-action/init@v1
17
26
with :
27
+ queries : security-and-quality
18
28
languages : csharp
19
- - uses : github/codeql-action/autobuild@v1
20
- - uses : github/codeql-action/analyze@v1
29
+
30
+ - name : Install dependencies
31
+ run : dotnet restore
32
+
33
+ - name : Build solution
34
+ run : dotnet build --no-restore
35
+
36
+ - name : Perform CodeQL Analysis
37
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments