From 71ad0c3b8f48f5da965a415b36a4461ffbbfa30d Mon Sep 17 00:00:00 2001 From: adams85 <31276480+adams85@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:50:31 +0100 Subject: [PATCH] Run tests on .NET 9 (#103) --- .github/workflows/dotnet-sdk-ci.yml | 5 +++-- src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-sdk-ci.yml b/.github/workflows/dotnet-sdk-ci.yml index e2682939..d1990344 100644 --- a/.github/workflows/dotnet-sdk-ci.yml +++ b/.github/workflows/dotnet-sdk-ci.yml @@ -44,7 +44,8 @@ jobs: dotnet-version: [ {rt: "3.1.x", sdk: "3.1.100", tfm: netcoreapp3.1}, {rt: "6.0.x", sdk: "6.0.100", tfm: net6.0}, - {rt: "8.0.x", sdk: "8.0.100", tfm: net8.0} + {rt: "8.0.x", sdk: "8.0.100", tfm: net8.0}, + {rt: "9.0.x", sdk: "9.0.100", tfm: net9.0} ] os: [ubuntu-latest, windows-latest, macOS-latest] exclude: @@ -60,7 +61,7 @@ jobs: with: dotnet-version: | ${{ matrix.dotnet-version.rt }} - 8.0.x + 9.0.x - name: Build run: | dotnet build src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f ${{ matrix.dotnet-version.tfm }} diff --git a/src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj b/src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj index e545be06..4c22fcec 100644 --- a/src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj +++ b/src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj @@ -1,7 +1,7 @@ - net45;net461;netcoreapp3.1;net5.0;net6.0;net8.0 + net45;net461;netcoreapp3.1;net5.0;net6.0;net8.0;net9.0 false ConfigCatClientTests true @@ -25,13 +25,13 @@ - + + so we enable v3.x on the latest LTS version (.NET 8) only. -->