File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
src/OneBitSoftware.Utilities.OperationResult
tests/OneBitSoftware.Utilities.OperationResultTests Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 2020 - name : Setup .NET
2121 uses : actions/setup-dotnet@v4
2222 with :
23- dotnet-version : 9.x
23+ dotnet-version : |
24+ 8.x
25+ 9.x
2426
2527 - name : Restore dependencies
2628 run : dotnet restore ./src/OneBitSoftware.Utilities.OperationResult.sln
2931 run : dotnet build ./src/OneBitSoftware.Utilities.OperationResult.sln --no-restore --configuration "${{ env.CONFIGURATION }}"
3032
3133 - name : Test
32- run : dotnet test ./src/OneBitSoftware.Utilities.OperationResult.sln --no-build --verbosity normal
34+ run : dotnet test ./src/OneBitSoftware.Utilities.OperationResult.sln --no-build --configuration "${{ env.CONFIGURATION }}" -- verbosity normal
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net9.0</TargetFrameworks >
4+ <TargetFrameworks >net8.0; net9.0</TargetFrameworks >
55 <ImplicitUsings >disable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 </PropertyGroup >
1313 </None >
1414 </ItemGroup >
1515
16- <ItemGroup >
17- <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 9.0.2" />
16+ <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0'" >
17+ <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 8.0.0" />
18+ </ItemGroup >
19+
20+ <ItemGroup Condition =" '$(TargetFramework)' == 'net9.0'" >
21+ <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 9.0.0" />
1822 </ItemGroup >
1923
2024 <PropertyGroup >
3236 <PackageRequireLicenseAcceptance >False</PackageRequireLicenseAcceptance >
3337 <PackageReadmeFile >README.md</PackageReadmeFile >
3438 <PackageTags >OneBitSoftware; OperationResult;</PackageTags >
35- <Version >2.1.0 </Version >
39+ <Version >2.1.1 </Version >
3640 </PropertyGroup >
3741
3842</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework > net9.0</TargetFramework >
4+ <TargetFrameworks >net8.0; net9.0</TargetFrameworks >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments