File tree Expand file tree Collapse file tree 2 files changed +36
-38
lines changed Expand file tree Collapse file tree 2 files changed +36
-38
lines changed Original file line number Diff line number Diff line change 1
- name : ' build & test'
2
-
3
- on :
1
+ name : ' build & test'
2
+
3
+ on :
4
4
pull_request :
5
- branches : [ main ]
6
- push :
7
- branches : [ main ]
8
- paths :
9
- - ' **Dockerfile'
10
- - ' **.json'
11
- - ' **.cs'
12
- - ' **.csproj'
13
- - ' **.sln'
14
-
15
- env :
16
- DOTNET_VERSION : ' 8.0.x' # SDK version
17
-
18
- jobs :
19
- build :
20
-
21
- runs-on : ubuntu-latest
22
-
23
- steps :
24
- - uses : actions/checkout@main
25
- - name : Setup .NET
26
- uses : actions/setup-dotnet@main
27
- with :
28
- dotnet-version : ${{ env.DOTNET_VERSION }}
29
-
30
- - name : Install dependencies
31
- run : dotnet restore
32
-
33
- - name : Build
34
- run : dotnet build --no-restore
35
-
36
- - name : Test
37
- run : dotnet test --no-restore --verbosity normal
5
+ branches : [ main ]
6
+ push :
7
+ branches : [ main ]
8
+ paths :
9
+ - ' **Dockerfile'
10
+ - ' **.json'
11
+ - ' **.cs'
12
+ - ' **.csproj'
13
+ - ' **.sln'
14
+
15
+ env :
16
+ DOTNET_VERSION : ' 8.0.x' # SDK version
17
+
18
+ jobs :
19
+ build :
20
+
21
+ runs-on : ubuntu-latest
22
+
23
+ steps :
24
+ - uses : actions/checkout@main
25
+ - name : Setup .NET
26
+ uses : actions/setup-dotnet@main
27
+ with :
28
+ dotnet-version : ${{ env.DOTNET_VERSION }}
29
+
30
+ - name : Install dependencies
31
+ run : dotnet restore
32
+
33
+ - name : Build
34
+ run : dotnet build --no-restore
35
+
36
+ - name : Test
37
+ run : dotnet test --no-restore --verbosity normal
Original file line number Diff line number Diff line change 64
64
dotnet build ./src/DotNet.Extensions/DotNet.Extensions.csproj --configuration Release
65
65
dotnet build ./src/DotNet.GitHub/DotNet.GitHub.csproj --configuration Release
66
66
dotnet build ./src/DotNet.GitHubActions/DotNet.GitHubActions.csproj --configuration Release
67
- dotnet build ./src/DotNet.IO/DotNet.IO.csproj --configuration Release
68
67
dotnet build ./src/DotNet.Models/DotNet.Models.csproj --configuration Release
69
68
dotnet build ./src/DotNet.Releases/DotNet.Releases.csproj --configuration Release
70
- dotnet build ./src/DotNet.Reporter/DotNet.Reporter.csproj --configuration Release
71
69
dotnet build ./src/DotNet.VersionSweeper/DotNet.VersionSweeper.csproj --configuration Release
72
70
73
71
- name : Perform CodeQL Analysis
You can’t perform that action at this time.
0 commit comments