Skip to content

Commit 988b493

Browse files
committed
Bump to .NET 10 and update dependencies
Target net10.0, pin SDK to 10.0.100 and switch dotnet test to the Microsoft.Testing.Platform runner for TUnit. Update CI workflows to the .NET 10 SDK and bump packages: Npgsql.EntityFrameworkCore.PostgreSQL 9.0.4 to 10.0.2, BCrypt.Net-Next 4.2.0 to 4.2.1, Testcontainers.Redis 4.7.0 to 4.12.0.
1 parent d6ce804 commit 988b493

6 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup dotnet
3838
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
3939
with:
40-
dotnet-version: '9.0.x'
40+
dotnet-version: '10.0.x'
4141

4242
- name: Install dependencies
4343
run: dotnet restore

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- cron: '0 6 * * 1'
1010

1111
env:
12-
DOTNET_VERSION: 9.x.x
12+
DOTNET_VERSION: 10.x.x
1313

1414
jobs:
1515
analyze:

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Solution file: `Common.slnx`
3636

3737
## Build Configuration
3838

39-
- .NET 9.0, latest C# language version
39+
- .NET 10.0, latest C# language version
4040
- Nullable reference types enabled globally
4141
- Central package management via `Directory.Packages.props`
4242
- `Directory.Build.props` enables implicit usings, XML docs, and treats warnings as errors in Debug

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</ItemGroup>
2323

2424
<PropertyGroup>
25-
<TargetFramework>net9.0</TargetFramework>
25+
<TargetFramework>net10.0</TargetFramework>
2626
</PropertyGroup>
2727

2828
<PropertyGroup>

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageVersion Include="BCrypt.Net-Next" Version="4.2.0" />
7+
<PackageVersion Include="BCrypt.Net-Next" Version="4.2.1" />
88
<PackageVersion Include="Bogus" Version="35.6.5" />
9-
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
9+
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.2" />
1010
<PackageVersion Include="OneOf" Version="3.0.271" />
1111
<PackageVersion Include="OpenShock.Serialization.Flatbuffers" Version="2.1.0" />
1212
<PackageVersion Include="Semver" Version="3.0.0" />
1313
<PackageVersion Include="Serilog" Version="4.3.1" />
1414
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.12.0" />
15-
<PackageVersion Include="Testcontainers.Redis" Version="4.7.0" />
15+
<PackageVersion Include="Testcontainers.Redis" Version="4.12.0" />
1616
<PackageVersion Include="TUnit" Version="1.56.25" />
1717
</ItemGroup>
1818
</Project>

global.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.100",
44
"rollForward": "latestMinor",
55
"allowPrerelease": false
6+
},
7+
"test": {
8+
"runner": "Microsoft.Testing.Platform"
69
}
710
}

0 commit comments

Comments
 (0)