Skip to content

Commit e14dcab

Browse files
committed
Migrate to .NET 11 and version 11
1 parent 1641795 commit e14dcab

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/build-and-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup .NET
3030
uses: actions/setup-dotnet@v6
3131
with:
32-
dotnet-version: 10.0.402
32+
dotnet-version: 11.0.100-rc.3.26522.148
3333

3434
- name: Restore tests
3535
run: dotnet restore test/Soenneker.Utils.PooledStringBuilders.Tests/Soenneker.Utils.PooledStringBuilders.Tests.csproj --verbosity minimal

‎.github/workflows/codeql.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup .NET
3434
uses: actions/setup-dotnet@v6
3535
with:
36-
dotnet-version: '10.0.402'
36+
dotnet-version: '11.0.100-rc.3.26522.148'
3737

3838
- name: Initialize CodeQL
3939
uses: github/codeql-action/init@v4

‎.github/workflows/publish-package.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: Setting up build version
3434
shell: bash
3535
run: |
36-
echo "BUILD_VERSION=4.0.${GITHUB_RUN_NUMBER}" >> "$GITHUB_ENV"
36+
echo "BUILD_VERSION=11.0.${GITHUB_RUN_NUMBER}" >> "$GITHUB_ENV"
3737
3838
- name: Get release notes from latest commit
3939
uses: soenneker/release-notes-from-commits@v2
4040

4141
- name: Setup .NET
4242
uses: actions/setup-dotnet@v6
4343
with:
44-
dotnet-version: 10.0.402
44+
dotnet-version: 11.0.100-rc.3.26522.148
4545

4646
- name: Restore tests
4747
run: dotnet restore test/Soenneker.Utils.PooledStringBuilders.Tests/Soenneker.Utils.PooledStringBuilders.Tests.csproj --verbosity minimal

‎benchmarks/Soenneker.Utils.PooledStringBuilders.Benchmarks/Soenneker.Utils.PooledStringBuilders.Benchmarks.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
4+
<TargetFramework>net11.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<IsPackable>false</IsPackable>

‎src/Soenneker.Utils.PooledStringBuilders/Soenneker.Utils.PooledStringBuilders.csproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
44
<IsAotCompatible>true</IsAotCompatible>
55
<Nullable>enable</Nullable>
66
<Platforms>AnyCPU</Platforms>
@@ -9,7 +9,7 @@
99

1010
<PropertyGroup>
1111
<Description>A high-performance, stack-only string builder that rents its underlying buffer from ArrayPool instead of allocating new arrays. Designed for short-lived string construction.</Description>
12-
<Version Condition="'$(BUILD_VERSION)' == ''">4.0.0</Version>
12+
<Version Condition="'$(BUILD_VERSION)' == ''">11.0.0</Version>
1313
<Version Condition="'$(BUILD_VERSION)' != ''">$(BUILD_VERSION)</Version>
1414
<AssemblyName>Soenneker.Utils.PooledStringBuilders</AssemblyName>
1515
<PackageId>Soenneker.Utils.PooledStringBuilders</PackageId>

‎test/Soenneker.Utils.PooledStringBuilders.Tests/Soenneker.Utils.PooledStringBuilders.Tests.csproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net11.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
@@ -17,9 +17,9 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Soenneker.Utils.Test" Version="4.0.341" />
21-
<PackageReference Include="Soenneker.Tests.HostedUnit" Version="4.0.337" />
22-
<PackageReference Include="TUnit" Version="1.76.0" />
20+
<PackageReference Include="Soenneker.Utils.Test" Version="4.0.342" />
21+
<PackageReference Include="Soenneker.Tests.HostedUnit" Version="4.0.338" />
22+
<PackageReference Include="TUnit" Version="1.76.28" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

0 commit comments

Comments
 (0)