File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : .Net Linux
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Setup .NET
16+ uses : actions/setup-dotnet@v4
17+ with :
18+ dotnet-version : 8.0.x
19+ - name : Restore dependancies
20+ run : dotnet restore
21+ - name : Build
22+ run : dotnet build --no-restore
23+ - name : Test
24+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change 1+ name : .Net Windows
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+
9+ jobs :
10+ build :
11+ runs-on : windows-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Setup .NET
16+ uses : actions/setup-dotnet@v4
17+ with :
18+ dotnet-version : 8.0.x
19+ - name : Restore dependancies
20+ run : dotnet restore
21+ - name : Build
22+ run : dotnet build --no-restore
23+ - name : Test
24+ run : dotnet test --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments