File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 11name : build-and-test
22on :
33 push :
4- branches : [ main ]
4+ branches : [main]
55 pull_request :
6- branches : [ main ]
6+ branches : [main]
77env :
88 JsonDiffPatchSolutionPath : src/SystemTextJson.JsonDiffPatch.sln
99jobs :
1010 build :
1111 strategy :
1212 matrix :
13- build-configuration : [ Debug, Release ]
14- test-target-framework : [ net8.0, net7.0, net6.0 ]
13+ build-configuration : [Debug, Release]
14+ test-target-framework : [net8.0, net7.0, net6.0]
1515 name : Build And Test (${{ matrix.test-target-framework }}, ${{ matrix.build-configuration }})
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@v5
1919 - name : Setup DotNet
2020 uses : actions/setup-dotnet@v5
2121 with :
22- dotnet-version : |
23- 8.x
24- 7.x
25- 6.x
22+ global-json-file : global.json
2623 - name : Restore
2724 run : dotnet restore ${{ env.JsonDiffPatchSolutionPath }}
2825 - name : Build
2926 run : dotnet build -c ${{ matrix.build-configuration }} --no-restore ${{ env.JsonDiffPatchSolutionPath }}
3027 - name : Test
3128 run : dotnet test -c ${{ matrix.build-configuration }} -f ${{ matrix.test-target-framework }} --no-restore --no-build ${{ env.JsonDiffPatchSolutionPath }}
32-
You can’t perform that action at this time.
0 commit comments