Skip to content

Commit 4cc8eb9

Browse files
committed
fix: globaljson
1 parent e4bcef6 commit 4cc8eb9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/reviewing_changes.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
max-parallel: 3
1919
matrix:
20-
dotnet: ['6.0.x', '5.0.x']
20+
dotnet: ['7.0.x', '6.0.x', '5.0.x']
2121
os: [ windows-latest ]
2222
name: XUnit Repo ${{ matrix.dotnet }} - ${{ matrix.os }} Sample
2323
env:
@@ -49,11 +49,15 @@ jobs:
4949
}
5050
- name: Setup dotnet
5151
uses: actions/setup-dotnet@v3
52+
id: dotnetsetup
5253
with:
5354
dotnet-version: ${{ matrix.dotnet }}
5455

5556
- name: Install dependencies
56-
run: dotnet build
57+
run: |
58+
dotnet new globaljson --sdk-version ${{ steps.dotnetsetup.outputs.dotnet-version }}
59+
dotnet --version
60+
dotnet build
5761
5862
- name: Run sample tests
5963
run: dotnet test --filter "Category=sample-test"

0 commit comments

Comments
 (0)