From 3eda11506b19ea0655869798bfebf79db70a8d43 Mon Sep 17 00:00:00 2001 From: Jo Palac Date: Thu, 8 Dec 2022 18:18:25 +1000 Subject: [PATCH] Added .Net7 to test projects (#712) --- .github/workflows/ci.yml | 4 +++- .github/workflows/release.yml | 4 +++- ...erviceBus.Transport.AzureServiceBus.AcceptanceTests.csproj | 2 +- ...viceBus.Transport.AzureServiceBus.CommandLine.Tests.csproj | 2 +- src/Tests/NServiceBus.Transport.AzureServiceBus.Tests.csproj | 2 +- ...ServiceBus.Transport.AzureServiceBus.TransportTests.csproj | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d36e5914..218ffa9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,9 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3.0.3 with: - dotnet-version: 6.0.x + dotnet-version: | + 7.0.x + 6.0.x - name: Build run: dotnet build src --configuration Release - name: Upload packages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68156c04..91ab2b83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,9 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3.0.3 with: - dotnet-version: 6.0.x + dotnet-version: | + 7.0.x + 6.0.x - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages diff --git a/src/AcceptanceTests/NServiceBus.Transport.AzureServiceBus.AcceptanceTests.csproj b/src/AcceptanceTests/NServiceBus.Transport.AzureServiceBus.AcceptanceTests.csproj index e7ebb244..42ec8afd 100644 --- a/src/AcceptanceTests/NServiceBus.Transport.AzureServiceBus.AcceptanceTests.csproj +++ b/src/AcceptanceTests/NServiceBus.Transport.AzureServiceBus.AcceptanceTests.csproj @@ -1,7 +1,7 @@  - net472;net6.0 + net472;net6.0;net7.0 true $(SolutionDir)NServiceBusTests.snk diff --git a/src/CommandLineTests/NServiceBus.Transport.AzureServiceBus.CommandLine.Tests.csproj b/src/CommandLineTests/NServiceBus.Transport.AzureServiceBus.CommandLine.Tests.csproj index c88fca9a..bf46a8c4 100644 --- a/src/CommandLineTests/NServiceBus.Transport.AzureServiceBus.CommandLine.Tests.csproj +++ b/src/CommandLineTests/NServiceBus.Transport.AzureServiceBus.CommandLine.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net6.0;net7.0 diff --git a/src/Tests/NServiceBus.Transport.AzureServiceBus.Tests.csproj b/src/Tests/NServiceBus.Transport.AzureServiceBus.Tests.csproj index 725bb4c7..8d7804d1 100644 --- a/src/Tests/NServiceBus.Transport.AzureServiceBus.Tests.csproj +++ b/src/Tests/NServiceBus.Transport.AzureServiceBus.Tests.csproj @@ -1,7 +1,7 @@  - net472;net6.0 + net472;net6.0;net7.0 true $(SolutionDir)NServiceBusTests.snk diff --git a/src/TransportTests/NServiceBus.Transport.AzureServiceBus.TransportTests.csproj b/src/TransportTests/NServiceBus.Transport.AzureServiceBus.TransportTests.csproj index fa240189..8be8d7eb 100644 --- a/src/TransportTests/NServiceBus.Transport.AzureServiceBus.TransportTests.csproj +++ b/src/TransportTests/NServiceBus.Transport.AzureServiceBus.TransportTests.csproj @@ -1,7 +1,7 @@  - net472;net6.0 + net472;net6.0;net7.0