File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,20 @@ concurrency:
88
99jobs :
1010 qa :
11- name : QA
11+ name : QA (.NET ${{ matrix.dotnet-version }})
1212 runs-on : ubuntu-latest
1313 timeout-minutes : 15
1414
15+ strategy :
16+ matrix :
17+ dotnet-version : ['8.0.x', '9.0.x', '10.0.x']
18+
1519 steps :
1620 - name : Clone repository
1721 uses : actions/checkout@v5
18- - name : Use .NET
22+ - name : Use .NET ${{ matrix.dotnet-version }}
1923 uses : actions/setup-dotnet@v5
24+ with :
25+ dotnet-version : ${{ matrix.dotnet-version }}
2026 - name : Run QA
2127 run : make qa
Original file line number Diff line number Diff line change 1919 uses : actions/checkout@v5
2020 with :
2121 fetch-depth : " 0"
22- - name : Use .NET
22+ - name : Use .NET 8.0
2323 uses : actions/setup-dotnet@v5
24+ with :
25+ dotnet-version : ' 8.0.x'
26+ - name : Use .NET 9.0
27+ uses : actions/setup-dotnet@v5
28+ with :
29+ dotnet-version : ' 9.0.x'
30+ - name : Use .NET 10.0
31+ uses : actions/setup-dotnet@v5
32+ with :
33+ dotnet-version : ' 10.0.x'
2434 - name : Run QA
2535 run : make qa
2636 - name : Get next version
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8.0</ TargetFramework >
4+ <TargetFrameworks >net8.0;net9.0;net10.0</ TargetFrameworks >
55
66 <ImplicitUsings >false</ImplicitUsings >
77 <Nullable >enable</Nullable >
1414 <ItemGroup >
1515 <PackageReference Include =" coverlet.collector" Version =" 6.0.4" />
1616 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.1" />
17- <PackageReference Include =" System.Linq.Async" Version =" 6.0.3" />
17+ <PackageReference Include =" System.Linq.Async" Version =" 6.0.3" Condition = " $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) < 10.0 " />
1818 <PackageReference Include =" xunit" Version =" 2.9.3" />
1919 <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 9.0.10" />
2020 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 9.0.10" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8.0</ TargetFramework >
4+ <TargetFrameworks >net8.0;net9.0;net10.0</ TargetFrameworks >
55
66 <ImplicitUsings >false</ImplicitUsings >
77 <Nullable >enable</Nullable >
You can’t perform that action at this time.
0 commit comments