Skip to content

Commit d7d9a0b

Browse files
committed
Migrate to .NET 10
1 parent 217b0a1 commit d7d9a0b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/test-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Test
4242
working-directory: src/Nethermind.Int256.Tests
43-
run: dotnet run -c ${{ matrix.build-config }} --no-restore -p:SourceRevisionId=$GITHUB_SHA
43+
run: dotnet test -c ${{ matrix.build-config }} --no-restore
4444

4545
- name: Publish
4646
if: matrix.build-config == 'release' && matrix.hardware-intrinsics == 1 &&

global.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"sdk": {
3-
"version": "9.0.2",
3+
"version": "10.0.100",
44
"allowPrerelease": false,
5-
"rollForward": "latestFeature"
5+
"rollForward": "latestMajor"
6+
},
7+
"test": {
8+
"runner": "Microsoft.Testing.Platform"
69
}
710
}

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
8-
<TargetFramework>net9.0</TargetFramework>
8+
<TargetFramework>net10.0</TargetFramework>
99
<UseArtifactsOutput>true</UseArtifactsOutput>
1010
</PropertyGroup>
1111

src/Nethermind.Int256.Tests/Nethermind.Int256.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<OutputType>Exe</OutputType>
55
<IsPackable>false</IsPackable>
66
<EnableNUnitRunner>true</EnableNUnitRunner>
7-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
8-
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
97
</PropertyGroup>
108

119
<ItemGroup>

0 commit comments

Comments
 (0)