File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,24 +5,28 @@ name: .NET
55
66on :
77 push :
8- branches : [ "main" ]
8+ branches : ["*" ]
99 pull_request :
10- branches : [ "main" ]
10+ branches : ["*" ]
1111
1212jobs :
1313 build :
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, windows-latest, macos-latest]
17+ configuration : [Debug, Release]
1418
15- runs-on : ubuntu-latest
19+ runs-on : ${{ matrix.os }}
1620
1721 steps :
18- - uses : actions/checkout@v3
19- - name : Setup .NET
20- uses : actions/setup-dotnet@v3
21- with :
22- dotnet-version : 6 .0.x
23- - name : Restore dependencies
24- run : dotnet restore
25- - name : Build
26- run : dotnet build --no-restore
27- - name : Test
28- run : dotnet test --no-build --verbosity normal
22+ - uses : actions/checkout@v4
23+ - name : Setup .NET
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ dotnet-version : 9 .0.x
27+ - name : Restore dependencies
28+ run : dotnet restore
29+ - name : Build
30+ run : dotnet build --no-restore
31+ - name : Test
32+ run : dotnet test --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments