Skip to content

Commit 586a618

Browse files
Upgrade to .NET 10 (#26)
Upgrade test project and GitHub workflows to .NET 10
1 parent 180895e commit 586a618

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/dotnet-build-and-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
operating-system: [ubuntu-latest]
13-
dotnet-version: ['8.0.x']
13+
dotnet-version: ['10.0.x']
1414

1515
steps:
1616
- uses: actions/checkout@v4

Src/CreditCardValidator.Tests/CreditCardValidator.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1111
<PackageReference Include="Shouldly" Version="4.3.0" />
1212
<PackageReference Include="xunit" Version="2.7.0" />
1313
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">

0 commit comments

Comments
 (0)