File tree Expand file tree Collapse file tree 10 files changed +31
-21
lines changed
CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Tests
CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.Tests
NHibernate.Caches.Common.Tests
RtMemoryCache/NHibernate.Caches.RtMemoryCache.Tests
StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.Tests
Util/NHibernate.Caches.Util.JsonSerializer.Tests Expand file tree Collapse file tree 10 files changed +31
-21
lines changed Original file line number Diff line number Diff line change 21
21
- name : Setup .NET
22
22
uses : actions/setup-dotnet@v4
23
23
with :
24
- dotnet-version : 6 .0.x
24
+ dotnet-version : 8 .0.x
25
25
26
26
- name : Generate Async code
27
27
run : |
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.CoreDistributedCache</Product >
5
5
<Description >Unit tests of cache provider for NHibernate using .Net Core IDistributedCache (Microsoft.Extensions.Caching.Abstractions).</Description >
6
- <TargetFrameworks >net461;net6.0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8.0</TargetFrameworks >
7
+ <EnableUnsafeBinaryFormatterSerialization >true</EnableUnsafeBinaryFormatterSerialization >
7
8
<IsTestProject >true</IsTestProject >
8
9
</PropertyGroup >
9
10
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
10
11
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
11
12
</PropertyGroup >
12
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
13
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
13
14
<OutputType >Exe</OutputType >
14
15
<GenerateProgramFile >false</GenerateProgramFile >
15
16
</PropertyGroup >
28
29
<PackageReference Include =" NSubstitute" Version =" 3.1.0" />
29
30
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
30
31
</ItemGroup >
31
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
32
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
32
33
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
33
34
</ItemGroup >
34
35
</Project >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.CoreMemoryCache</Product >
5
5
<Description >Unit tests of cache provider for NHibernate using .Net Core MemoryCache (Microsoft.Extensions.Caching.Memory).</Description >
6
- <TargetFrameworks >net461;net6 .0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8 .0</TargetFrameworks >
7
7
<IsTestProject >true</IsTestProject >
8
8
</PropertyGroup >
9
9
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
10
10
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
11
11
</PropertyGroup >
12
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
12
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
13
13
<OutputType >Exe</OutputType >
14
14
<GenerateProgramFile >false</GenerateProgramFile >
15
15
</PropertyGroup >
22
22
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.9.2" />
23
23
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
24
24
</ItemGroup >
25
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
25
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
26
26
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
27
27
</ItemGroup >
28
28
</Project >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.Common.Tests</Product >
5
5
<Description >Unit tests base for cache providers.</Description >
6
- <TargetFrameworks >net461;net6.0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8.0</TargetFrameworks >
7
+ <EnableUnsafeBinaryFormatterSerialization >true</EnableUnsafeBinaryFormatterSerialization >
7
8
<IsTestProject >true</IsTestProject >
8
9
</PropertyGroup >
9
10
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
10
11
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
11
12
</PropertyGroup >
12
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
13
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
13
14
<OutputType >Exe</OutputType >
14
15
<GenerateProgramFile >false</GenerateProgramFile >
15
16
</PropertyGroup >
20
21
<PackageReference Include =" NHibernate" Version =" 5.2.0" />
21
22
<PackageReference Include =" NSubstitute" Version =" 3.1.0" />
22
23
</ItemGroup >
23
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
24
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
24
25
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
25
26
</ItemGroup >
26
27
<ItemGroup >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.RtMemoryCache</Product >
5
5
<Description >Unit tests of cache provider for NHibernate using MemoryCache.</Description >
6
- <TargetFrameworks >net461;net6 .0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8 .0</TargetFrameworks >
7
7
<IsTestProject >true</IsTestProject >
8
8
</PropertyGroup >
9
9
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
10
10
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
11
11
</PropertyGroup >
12
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
12
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
13
13
<OutputType >Exe</OutputType >
14
14
<GenerateProgramFile >false</GenerateProgramFile >
15
15
</PropertyGroup >
26
26
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.9.2" />
27
27
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
28
28
</ItemGroup >
29
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
29
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
30
30
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
31
31
</ItemGroup >
32
32
</Project >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.StackExchangeRedis.Tests</Product >
5
5
<Description >Unit tests of cache provider NHibernate using StackExchange.Redis.</Description >
6
- <TargetFrameworks >net461;net6 .0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8 .0</TargetFrameworks >
7
7
<ImplicitlyExpandNETStandardFacades >false</ImplicitlyExpandNETStandardFacades >
8
+ <EnableUnsafeBinaryFormatterSerialization >true</EnableUnsafeBinaryFormatterSerialization >
8
9
<IsTestProject >true</IsTestProject >
9
10
</PropertyGroup >
10
11
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
11
12
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
12
13
</PropertyGroup >
13
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
14
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
14
15
<OutputType >Exe</OutputType >
15
16
<GenerateProgramFile >false</GenerateProgramFile >
16
17
</PropertyGroup >
24
25
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
25
26
<PackageReference Include =" NSubstitute" Version =" 3.1.0" />
26
27
</ItemGroup >
27
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
28
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
28
29
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
29
30
<PackageReference Include =" System.Runtime.Caching" Version =" 4.5.0" />
30
31
</ItemGroup >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >NHibernate.Caches.Util.JsonSerializer.Tests</Product >
5
5
<Description >Unit tests for json serializer.</Description >
6
- <TargetFrameworks >net461;net6.0</TargetFrameworks >
6
+ <TargetFrameworks >net461;net8.0</TargetFrameworks >
7
+ <EnableUnsafeBinaryFormatterSerialization >true</EnableUnsafeBinaryFormatterSerialization >
7
8
<IsTestProject >true</IsTestProject >
8
9
</PropertyGroup >
9
10
<PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
10
11
<DefineConstants >NETFX;$(DefineConstants)</DefineConstants >
11
12
</PropertyGroup >
12
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
13
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net8 .0'" >
13
14
<OutputType >Exe</OutputType >
14
15
<GenerateProgramFile >false</GenerateProgramFile >
15
16
</PropertyGroup >
21
22
<PackageReference Include =" log4net" Version =" 2.0.17" />
22
23
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
23
24
</ItemGroup >
24
- <ItemGroup Condition =" '$(TargetFramework)'=='net6 .0'" >
25
+ <ItemGroup Condition =" '$(TargetFramework)'=='net8 .0'" >
25
26
<PackageReference Include =" NUnitLite" Version =" 3.14.0" />
26
27
</ItemGroup >
27
28
</Project >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ configuration:
6
6
environment :
7
7
global :
8
8
netTargetFx : net461
9
- coreTargetFx : net6 .0
9
+ coreTargetFx : net8 .0
10
10
matrix :
11
11
- tests : net
12
12
- tests : core
Original file line number Diff line number Diff line change 7
7
<property name =" key.file" value =" ../NHibernate.Caches.snk" />
8
8
9
9
<property name =" net.target-fx" value =" net461" />
10
- <property name =" net.core-fx" value =" net6 .0" />
10
+ <property name =" net.core-fx" value =" net8 .0" />
11
11
12
12
<property name =" nant-version.current" value =" ${assemblyname::get-version(assembly::get-name(nant::get-assembly()))}" />
13
13
<property name =" nant-version.required" value =" 0.85.2478.0" />
Original file line number Diff line number Diff line change
1
+ {
2
+ "sdk" : {
3
+ "version" : " 8.0.100" ,
4
+ "rollForward" : " latestFeature"
5
+ }
6
+ }
You can’t perform that action at this time.
0 commit comments