File tree Expand file tree Collapse file tree 2 files changed +45
-2
lines changed Expand file tree Collapse file tree 2 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a .NET project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+ name : Run tests
5+
6+ on :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+
12+ jobs :
13+ buildnet8 :
14+ runs-on : ubuntu-latest
15+ defaults :
16+ run :
17+ shell : bash
18+ working-directory : ./tests
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+ - name : Setup .NET 8
23+ uses : actions/setup-dotnet@v4
24+ with :
25+ dotnet-version : 8.x
26+ - name : Test
27+ run : dotnet test --verbosity normal
28+
29+ buildnet9 :
30+ runs-on : ubuntu-latest
31+ defaults :
32+ run :
33+ shell : bash
34+ working-directory : ./tests
35+
36+ steps :
37+ - uses : actions/checkout@v4
38+ - name : Setup .NET 9
39+ uses : actions/setup-dotnet@v4
40+ with :
41+ dotnet-version : 9.x
42+ - name : Test
43+ run : dotnet test --verbosity normal
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2-
2+
33 <PropertyGroup >
4- <TargetFramework > net9.0</TargetFramework >
4+ <TargetFrameworks >net8.0; net9.0</TargetFrameworks >
55 <LangVersion >latest</LangVersion >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
You can’t perform that action at this time.
0 commit comments