Skip to content

Commit 60fa44c

Browse files
committed
feat: migration to .NET 10
1 parent a47d433 commit 60fa44c

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"csharpier": {
6-
"version": "1.1.2",
6+
"version": "1.2.1",
77
"commands": [
88
"csharpier"
99
],

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v2
22-
- name: Setup .NET 9.0 SDK
22+
- name: Setup .NET 10.0 SDK
2323
uses: actions/setup-dotnet@v4
2424
with:
25-
dotnet-version: "9.0.x"
25+
dotnet-version: "10.0.x"
2626
- name: Build and Test
2727
run: dotnet fsi build.fsx -- -p build
2828
- name: Upload Artifacts
@@ -38,10 +38,10 @@ jobs:
3838
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v2
41-
- name: Setup .NET 9.0 SDK
41+
- name: Setup .NET 10.0 SDK
4242
uses: actions/setup-dotnet@v4
4343
with:
44-
dotnet-version: "9.0.x"
44+
dotnet-version: "10.0.x"
4545
- name: Build and Test
4646
run: dotnet fsi build.fsx -- -p build
4747
- name: Setup DocFX

Clippit.Tests/Clippit.Tests.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
77
</PropertyGroup>
88
<ItemGroup>
99
<ProjectReference Include="..\Clippit\Clippit.csproj" />
1010
</ItemGroup>
1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
13-
<PackageReference Include="xunit.v3" Version="3.1.0" />
14-
<PackageReference Include="xunit.v3.runner.console" Version="3.1.0">
12+
<PackageReference Include="xunit.v3" Version="3.2.0" />
13+
<PackageReference Include="xunit.v3.runner.console" Version="3.2.0">
1514
<PrivateAssets>all</PrivateAssets>
1615
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1716
</PackageReference>

Clippit/Clippit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<PackageId>Clippit</PackageId>
66
<IncludeSymbols>true</IncludeSymbols>
77
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ open Fake.IO
66
open Fake.DotNet
77

88
let version =
9-
Changelog.GetLastVersion(__SOURCE_DIRECTORY__)
9+
Changelog.GetLastVersion __SOURCE_DIRECTORY__
1010
|> Option.defaultWith (fun () -> failwith "Version is not found")
1111

1212
pipeline "build" {

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.108",
3+
"version": "10.0.100",
44
"rollForward": "latestFeature"
55
}
66
}

0 commit comments

Comments
 (0)