File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -31,26 +31,34 @@ jobs:
3131 submodules : recursive
3232 fetch-depth : 0
3333
34+ - uses : actions/setup-dotnet@v1
35+ with :
36+ dotnet-version : ' 6.0.x'
37+
3438 - name : ✓ ensure format
3539 run : |
36- dotnet tool update -g dotnet-format --version 5.0.*
3740 dotnet restore
38- dotnet format --check -v:diag
41+ dotnet format --verify-no-changes -v:diag
3942
4043 build :
4144 name : build-${{ matrix.os }}
4245 needs : dotnet-format
4346 runs-on : ${{ matrix.os }}
4447 strategy :
4548 matrix :
46- os : [ubuntu-latest, windows-latest , macOS-latest]
49+ os : [ubuntu-latest, windows-2022 , macOS-latest]
4750 steps :
4851 - name : 🤘 checkout
4952 uses : actions/checkout@v2
5053 with :
5154 submodules : recursive
5255 fetch-depth : 0
5356
57+ - uses : actions/setup-dotnet@v1
58+ if : matrix.os != 'windows-2022'
59+ with :
60+ dotnet-version : ' 6.0.x'
61+
5462 - name : 🙏 build
5563 run : dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
5664
Original file line number Diff line number Diff line change 2121 submodules : recursive
2222 fetch-depth : 0
2323
24+ - uses : actions/setup-dotnet@v1
25+ with :
26+ dotnet-version : ' 6.0.x'
27+
2428 - name : 🙏 build
2529 run : dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
2630
You can’t perform that action at this time.
0 commit comments