Skip to content

Commit 2833c15

Browse files
committed
Install .NET 6.0 when running tests
Fixes #1001.
1 parent b06e08b commit 2833c15

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test-examples.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@ jobs:
2323
- name: Check out our repo
2424
uses: actions/checkout@v2
2525

26-
- name: Setup .NET 8.0
27-
uses: actions/setup-dotnet@v1
26+
# We build examples against .NET 6.0, but use
27+
# 8.0 for the tools themselves. (The closer we
28+
# are to the target language version we're standardising,
29+
# the better.)
30+
- name: Setup .NET 6.0 and 8.0
31+
uses: actions/setup-dotnet@v3
2832
with:
29-
dotnet-version: 8.0.x
33+
dotnet-version: |
34+
6.0.x
35+
8.0.x
3036
3137
- name: Extract and validate tests
3238
run: |

0 commit comments

Comments
 (0)