From a8b656fa4c47fd556fda431a2b7c6cc30a195387 Mon Sep 17 00:00:00 2001 From: ianwold Date: Sat, 14 Nov 2026 09:34:33 -0600 Subject: [PATCH] Update to .NET 11 --- .github/workflows/build.yml | 4 +++- .github/workflows/publish.yml | 4 +++- src/Metalsharp.Tests/Metalsharp.Tests.csproj | 4 ++-- src/Metalsharp/Metalsharp.csproj | 8 ++++---- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d03c6cb..5ce5eae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.x + dotnet-version: | + 10.0.x + 11.0.x - name: Restore run: dotnet restore - name: Build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c05ee4a..a6247d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.x + dotnet-version: | + 10.0.x + 11.0.x - name: Pack run: | arrTag=(${GITHUB_REF//\// }) diff --git a/src/Metalsharp.Tests/Metalsharp.Tests.csproj b/src/Metalsharp.Tests/Metalsharp.Tests.csproj index 7da65de..4b10066 100644 --- a/src/Metalsharp.Tests/Metalsharp.Tests.csproj +++ b/src/Metalsharp.Tests/Metalsharp.Tests.csproj @@ -1,7 +1,7 @@ - net10.0 + net10.0;net11.0 false @@ -108,7 +108,7 @@ - + diff --git a/src/Metalsharp/Metalsharp.csproj b/src/Metalsharp/Metalsharp.csproj index 851f5e0..d710261 100644 --- a/src/Metalsharp/Metalsharp.csproj +++ b/src/Metalsharp/Metalsharp.csproj @@ -1,7 +1,7 @@ - net10.0 + net10.0;net11.0 Metalsharp latest enable @@ -36,12 +36,12 @@ - + - - + +