File tree Expand file tree Collapse file tree 3 files changed +53
-300
lines changed Expand file tree Collapse file tree 3 files changed +53
-300
lines changed Original file line number Diff line number Diff line change
1
+ name : FeatureManagement-Dotnet CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - preview
8
+ - release/*
9
+ pull_request :
10
+ branches :
11
+ - main
12
+ - preview
13
+ - release/*
14
+
15
+ permissions :
16
+ security-events : write
17
+
18
+ jobs :
19
+ build :
20
+ runs-on : windows-latest
21
+
22
+ steps :
23
+ - name : Checkout code
24
+ uses : actions/checkout@v2
25
+
26
+ - name : Install .NET
27
+ run : pwsh build/install-dotnet.ps1 -RestoreOnly
28
+
29
+ - name : Restore
30
+ run : pwsh build.ps1 -RestoreOnly
31
+
32
+ - name : Initialize CodeQL
33
+ uses : github/codeql-action/init@v3
34
+ with :
35
+ languages : ' csharp'
36
+
37
+ - name : Dotnet Build
38
+ run : pwsh build.ps1
39
+
40
+ - name : Dotnet Pack
41
+ run : pwsh pack.ps1
42
+
43
+ - name : Dotnet Test
44
+ run : pwsh test.ps1
45
+
46
+ - name : Publish Test Results
47
+ uses : actions/upload-artifact@v4
48
+ with :
49
+ name : Unit Test Results
50
+ path : ${{ github.workspace }}/tests/**/*.trx
51
+
52
+ - name : Perform CodeQL Analysis
53
+ uses : github/codeql-action/analyze@v3
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments