File tree 4 files changed +9
-9
lines changed
src/JsonApiDotNetCore/Diagnostics
test/NoEntityFrameworkTests
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 47
47
- name : Setup .NET
48
48
uses : actions/setup-dotnet@v3
49
49
with :
50
- dotnet-version : 6 .0.x
50
+ dotnet-version : 7 .0.x
51
51
- name : Setup PowerShell (Ubuntu)
52
52
if : matrix.os == 'ubuntu-latest'
53
53
run : |
@@ -178,7 +178,7 @@ jobs:
178
178
- name : Setup .NET
179
179
uses : actions/setup-dotnet@v3
180
180
with :
181
- dotnet-version : 6 .0.x
181
+ dotnet-version : 7 .0.x
182
182
- name : Git checkout
183
183
uses : actions/checkout@v4
184
184
- name : Restore tools
@@ -229,7 +229,7 @@ jobs:
229
229
- name : Setup .NET
230
230
uses : actions/setup-dotnet@v3
231
231
with :
232
- dotnet-version : 6 .0.x
232
+ dotnet-version : 7 .0.x
233
233
- name : Git checkout
234
234
uses : actions/checkout@v4
235
235
with :
Original file line number Diff line number Diff line change 15
15
16
16
<PropertyGroup >
17
17
<!-- Published dependencies (only update on major version change) -->
18
- <TargetFrameworkName >net6 .0</TargetFrameworkName >
18
+ <TargetFrameworkName >net7 .0</TargetFrameworkName >
19
19
<CodeAnalysisFrozenVersion >4.1.0</CodeAnalysisFrozenVersion >
20
20
<DemystifierFrozenVersion >0.4.1</DemystifierFrozenVersion >
21
- <EntityFrameworkCoreFrozenVersion >6 .0.0</EntityFrameworkCoreFrozenVersion >
21
+ <EntityFrameworkCoreFrozenVersion >7 .0.0</EntityFrameworkCoreFrozenVersion >
22
22
<HumanizerFrozenVersion >2.14.1</HumanizerFrozenVersion >
23
23
24
24
<!-- Non-published dependencies (these are safe to update, won't cause a breaking change) -->
25
- <AspNetCoreVersion >6 .0.*</AspNetCoreVersion >
25
+ <AspNetCoreVersion >7 .0.*</AspNetCoreVersion >
26
26
<BenchmarkDotNetVersion >0.13.*</BenchmarkDotNetVersion >
27
27
<BogusVersion >34.0.*</BogusVersion >
28
28
<CSharpGuidelinesAnalyzerVersion >3.8.*</CSharpGuidelinesAnalyzerVersion >
36
36
<JetBrainsAnnotationsVersion >2023.2.*</JetBrainsAnnotationsVersion >
37
37
<NpgsqlVersion >7.0.*</NpgsqlVersion >
38
38
<SourceLinkVersion >1.1.*</SourceLinkVersion >
39
- <SystemTextJsonVersion >7.0.* </SystemTextJsonVersion >
39
+ <SystemTextJsonVersion >$(AspNetCoreVersion) </SystemTextJsonVersion >
40
40
<TestSdkVersion >17.7.*</TestSdkVersion >
41
41
<XunitVersion >2.5.*</XunitVersion >
42
42
</PropertyGroup >
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ static CascadingCodeTimer()
23
23
// https://www.codeproject.com/Articles/61964/Performance-Tests-Precise-Run-Time-Measurements-wi
24
24
25
25
// The most important thing is to prevent switching between CPU cores or processors. Switching dismisses the cache, etc. and has a huge performance impact on the test.
26
- Process . GetCurrentProcess ( ) . ProcessorAffinity = new IntPtr ( 2 ) ;
26
+ Process . GetCurrentProcess ( ) . ProcessorAffinity = new nint ( 2 ) ;
27
27
28
28
// To get the CPU core more exclusively, we must prevent that other processes can use this CPU core. We set our process priority to achieve this.
29
29
// Note we should NOT set the thread priority, because async/await usage makes the code jump between pooled threads (depending on Synchronization Context).
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ public void Can_rewrite_order_by_clause_with_IntPtr()
498
498
Parent = new TestResource
499
499
{
500
500
Id = generator . GetNext ( ) ,
501
- Pointer = ( IntPtr ) 1
501
+ Pointer = 1
502
502
}
503
503
}
504
504
} ;
You can’t perform that action at this time.
0 commit comments