diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61c0d50..6575ad3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.200 + dotnet-version: 10.0.100 - name: Install workloads run: dotnet workload restore @@ -40,7 +40,7 @@ jobs: # Yarn build in advance to avoid cuncurrency issues due to multi target build - name: Yarn Build - run: dotnet build -c Release ./src/LLL.DurableTask.Ui -f:net9.0 -t:YarnBuild --no-restore + run: dotnet build -c Release ./src/LLL.DurableTask.Ui -f:net10.0 -t:YarnBuild --no-restore - name: Build run: dotnet build -c Release --no-restore @@ -59,7 +59,7 @@ jobs: --exclude-sources "**/Migrations/**" - name: Test - run: dotnet test -c Release -f:net9.0 --no-build + run: dotnet test -c Release -f:net10.0 --no-build - name: Report coverage run: | @@ -106,14 +106,14 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.200 + dotnet-version: 10.0.100 - name: Create Release NuGet package run: | export Version=${GITHUB_REF:11} echo Version: $Version dotnet restore - dotnet build -c Release ./src/LLL.DurableTask.Ui -f:net9.0 -t:YarnBuild --no-restore + dotnet build -c Release ./src/LLL.DurableTask.Ui -f:net10.0 -t:YarnBuild --no-restore dotnet pack -c Release --no-restore - name: Push to NuGet Feed diff --git a/benchmark/StoragesBenchmark/StoragesBenchmark.csproj b/benchmark/StoragesBenchmark/StoragesBenchmark.csproj index a07bc1e..775c58d 100644 --- a/benchmark/StoragesBenchmark/StoragesBenchmark.csproj +++ b/benchmark/StoragesBenchmark/StoragesBenchmark.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/global.json b/global.json index cdbb589..512142d 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "10.0.100", "rollForward": "latestFeature" } } diff --git a/samples/AppHost/AppHost.csproj b/samples/AppHost/AppHost.csproj index ce54d4e..fa98015 100644 --- a/samples/AppHost/AppHost.csproj +++ b/samples/AppHost/AppHost.csproj @@ -11,7 +11,7 @@ - + diff --git a/samples/BpmnWorker/Activities/EmptyActivity.cs b/samples/BpmnWorker/Activities/EmptyActivity.cs index 3b6de1a..58446e0 100644 --- a/samples/BpmnWorker/Activities/EmptyActivity.cs +++ b/samples/BpmnWorker/Activities/EmptyActivity.cs @@ -1,5 +1,4 @@ -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; namespace BpmnWorker.Activities; diff --git a/samples/BpmnWorker/Activities/ScriptActivity.cs b/samples/BpmnWorker/Activities/ScriptActivity.cs index 8bb2ee2..8935ce6 100644 --- a/samples/BpmnWorker/Activities/ScriptActivity.cs +++ b/samples/BpmnWorker/Activities/ScriptActivity.cs @@ -1,8 +1,5 @@ -using System.Collections.Generic; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; using Newtonsoft.Json.Linq; namespace BpmnWorker.Activities; diff --git a/samples/BpmnWorker/BpmnWorker.csproj b/samples/BpmnWorker/BpmnWorker.csproj index b3ba0e4..7455ca7 100644 --- a/samples/BpmnWorker/BpmnWorker.csproj +++ b/samples/BpmnWorker/BpmnWorker.csproj @@ -8,7 +8,7 @@ - + diff --git a/samples/BpmnWorker/Providers/IBPMNProvider.cs b/samples/BpmnWorker/Providers/IBPMNProvider.cs index da52117..14b61b0 100644 --- a/samples/BpmnWorker/Providers/IBPMNProvider.cs +++ b/samples/BpmnWorker/Providers/IBPMNProvider.cs @@ -1,6 +1,4 @@ -using System.Threading.Tasks; - -namespace BpmnWorker.Providers; +namespace BpmnWorker.Providers; public interface IBPMNProvider { diff --git a/samples/BpmnWorker/Providers/LocalFileBPMNProvider.cs b/samples/BpmnWorker/Providers/LocalFileBPMNProvider.cs index cbe5a37..59901ce 100644 --- a/samples/BpmnWorker/Providers/LocalFileBPMNProvider.cs +++ b/samples/BpmnWorker/Providers/LocalFileBPMNProvider.cs @@ -1,7 +1,4 @@ -using System.IO; -using System.Threading.Tasks; - -namespace BpmnWorker.Providers; +namespace BpmnWorker.Providers; public class LocalFileBPMNProvider : IBPMNProvider { diff --git a/samples/BpmnWorker/Scripting/IScriptEngine.cs b/samples/BpmnWorker/Scripting/IScriptEngine.cs index e310a7d..07dd273 100644 --- a/samples/BpmnWorker/Scripting/IScriptEngine.cs +++ b/samples/BpmnWorker/Scripting/IScriptEngine.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace BpmnWorker.Scripting; +namespace BpmnWorker.Scripting; public interface IScriptEngine { diff --git a/samples/BpmnWorker/Scripting/IScriptExecutor.cs b/samples/BpmnWorker/Scripting/IScriptExecutor.cs index 3984968..e5a2bfd 100644 --- a/samples/BpmnWorker/Scripting/IScriptExecutor.cs +++ b/samples/BpmnWorker/Scripting/IScriptExecutor.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace BpmnWorker.Activities; +namespace BpmnWorker.Activities; public interface IScriptExecutor { diff --git a/samples/BpmnWorker/Scripting/ScriptExecutor.cs b/samples/BpmnWorker/Scripting/ScriptExecutor.cs index 0ebd6a1..55e086e 100644 --- a/samples/BpmnWorker/Scripting/ScriptExecutor.cs +++ b/samples/BpmnWorker/Scripting/ScriptExecutor.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using BpmnWorker.Scripting; +using BpmnWorker.Scripting; namespace BpmnWorker.Activities; diff --git a/samples/BpmnWorker/Scripting/ServiceProviderScriptEngineFactory.cs b/samples/BpmnWorker/Scripting/ServiceProviderScriptEngineFactory.cs index 14aa3c9..1645842 100644 --- a/samples/BpmnWorker/Scripting/ServiceProviderScriptEngineFactory.cs +++ b/samples/BpmnWorker/Scripting/ServiceProviderScriptEngineFactory.cs @@ -1,7 +1,4 @@ -using System; -using Microsoft.Extensions.DependencyInjection; - -namespace BpmnWorker.Scripting; +namespace BpmnWorker.Scripting; public class ServiceProviderScriptEngineFactory : ResolveTypeScriptEngineFactory { diff --git a/samples/CarWorker/Activities/BookCarActivity.cs b/samples/CarWorker/Activities/BookCarActivity.cs index 49426c7..6a18d29 100644 --- a/samples/CarWorker/Activities/BookCarActivity.cs +++ b/samples/CarWorker/Activities/BookCarActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace CarWorker.Activities; diff --git a/samples/CarWorker/Activities/CancelCarActivity.cs b/samples/CarWorker/Activities/CancelCarActivity.cs index d8dce70..1501185 100644 --- a/samples/CarWorker/Activities/CancelCarActivity.cs +++ b/samples/CarWorker/Activities/CancelCarActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace CarWorker.Activities; diff --git a/samples/CarWorker/CarWorker.csproj b/samples/CarWorker/CarWorker.csproj index 32d48a6..418c5dd 100644 --- a/samples/CarWorker/CarWorker.csproj +++ b/samples/CarWorker/CarWorker.csproj @@ -7,7 +7,7 @@ - + diff --git a/samples/FlightWorker/Activities/BookFlightActivity.cs b/samples/FlightWorker/Activities/BookFlightActivity.cs index ed25eea..f42c5cc 100644 --- a/samples/FlightWorker/Activities/BookFlightActivity.cs +++ b/samples/FlightWorker/Activities/BookFlightActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace FlightWorker.Activities; diff --git a/samples/FlightWorker/Activities/CancelFlightActivity.cs b/samples/FlightWorker/Activities/CancelFlightActivity.cs index 839eb13..9f0d79b 100644 --- a/samples/FlightWorker/Activities/CancelFlightActivity.cs +++ b/samples/FlightWorker/Activities/CancelFlightActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace FlightWorker.Activities; diff --git a/samples/FlightWorker/FlightWorker.csproj b/samples/FlightWorker/FlightWorker.csproj index 32d48a6..418c5dd 100644 --- a/samples/FlightWorker/FlightWorker.csproj +++ b/samples/FlightWorker/FlightWorker.csproj @@ -7,7 +7,7 @@ - + diff --git a/samples/HotelWorker/Activities/BookHotelActivity.cs b/samples/HotelWorker/Activities/BookHotelActivity.cs index 850857a..35789fb 100644 --- a/samples/HotelWorker/Activities/BookHotelActivity.cs +++ b/samples/HotelWorker/Activities/BookHotelActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace HotelWorker.Activities; diff --git a/samples/HotelWorker/Activities/CancelHotelActivity.cs b/samples/HotelWorker/Activities/CancelHotelActivity.cs index e6d8926..ff089f8 100644 --- a/samples/HotelWorker/Activities/CancelHotelActivity.cs +++ b/samples/HotelWorker/Activities/CancelHotelActivity.cs @@ -1,8 +1,5 @@ -using System; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; -using Microsoft.Extensions.Logging; namespace HotelWorker.Activities; diff --git a/samples/HotelWorker/HotelWorker.csproj b/samples/HotelWorker/HotelWorker.csproj index 32d48a6..418c5dd 100644 --- a/samples/HotelWorker/HotelWorker.csproj +++ b/samples/HotelWorker/HotelWorker.csproj @@ -7,7 +7,7 @@ - + diff --git a/samples/OrchestrationWorker/OrchestrationWorker.csproj b/samples/OrchestrationWorker/OrchestrationWorker.csproj index 32d48a6..418c5dd 100644 --- a/samples/OrchestrationWorker/OrchestrationWorker.csproj +++ b/samples/OrchestrationWorker/OrchestrationWorker.csproj @@ -7,7 +7,7 @@ - + diff --git a/samples/OrchestrationWorker/Orchestrations/BookParallelOrchestration.cs b/samples/OrchestrationWorker/Orchestrations/BookParallelOrchestration.cs index a5e2219..a0f796f 100644 --- a/samples/OrchestrationWorker/Orchestrations/BookParallelOrchestration.cs +++ b/samples/OrchestrationWorker/Orchestrations/BookParallelOrchestration.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; using static OrchestrationWorker.Orchestrations.BookParallelOrchestration; diff --git a/samples/OrchestrationWorker/Orchestrations/BookSequentialOrchestration.cs b/samples/OrchestrationWorker/Orchestrations/BookSequentialOrchestration.cs index 4d2f4e1..ff70001 100644 --- a/samples/OrchestrationWorker/Orchestrations/BookSequentialOrchestration.cs +++ b/samples/OrchestrationWorker/Orchestrations/BookSequentialOrchestration.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using LLL.DurableTask.Worker; +using LLL.DurableTask.Worker; using LLL.DurableTask.Worker.Attributes; using static OrchestrationWorker.Orchestrations.BookSequentialOrchestration; diff --git a/src/LLL.DurableTask.Api/LLL.DurableTask.Api.csproj b/src/LLL.DurableTask.Api/LLL.DurableTask.Api.csproj index de3be66..331a825 100644 --- a/src/LLL.DurableTask.Api/LLL.DurableTask.Api.csproj +++ b/src/LLL.DurableTask.Api/LLL.DurableTask.Api.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0 + net10.0;net9.0;net8.0 diff --git a/src/LLL.DurableTask.AzureStorage/LLL.DurableTask.AzureStorage.csproj b/src/LLL.DurableTask.AzureStorage/LLL.DurableTask.AzureStorage.csproj index b6a4083..35286eb 100644 --- a/src/LLL.DurableTask.AzureStorage/LLL.DurableTask.AzureStorage.csproj +++ b/src/LLL.DurableTask.AzureStorage/LLL.DurableTask.AzureStorage.csproj @@ -1,13 +1,17 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 Extends Durable Task Azure Storage + + + + @@ -17,7 +21,7 @@ - + diff --git a/src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj b/src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj index 659fe06..134f0c7 100644 --- a/src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj +++ b/src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj @@ -1,13 +1,18 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 Configure Durable Task client + + + + + @@ -19,7 +24,7 @@ - + diff --git a/src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj b/src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj index 114b941..50a2dc1 100644 --- a/src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj +++ b/src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj @@ -1,7 +1,7 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 @@ -9,7 +9,7 @@ - + diff --git a/src/LLL.DurableTask.Core/PurgeInstanceFilterExtended.cs b/src/LLL.DurableTask.Core/PurgeInstanceFilterExtended.cs index d88e598..730057e 100644 --- a/src/LLL.DurableTask.Core/PurgeInstanceFilterExtended.cs +++ b/src/LLL.DurableTask.Core/PurgeInstanceFilterExtended.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using DurableTask.Core; diff --git a/src/LLL.DurableTask.EFCore.InMemory/LLL.DurableTask.EFCore.InMemory.csproj b/src/LLL.DurableTask.EFCore.InMemory/LLL.DurableTask.EFCore.InMemory.csproj index b0927fe..f5d6a9a 100644 --- a/src/LLL.DurableTask.EFCore.InMemory/LLL.DurableTask.EFCore.InMemory.csproj +++ b/src/LLL.DurableTask.EFCore.InMemory/LLL.DurableTask.EFCore.InMemory.csproj @@ -1,7 +1,7 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 latest @@ -9,6 +9,10 @@ InMemory extensions to EFCore Durable Task Storage + + + + diff --git a/src/LLL.DurableTask.EFCore.MySql/LLL.DurableTask.EFCore.MySql.csproj b/src/LLL.DurableTask.EFCore.MySql/LLL.DurableTask.EFCore.MySql.csproj index 3231d10..6a4ad54 100644 --- a/src/LLL.DurableTask.EFCore.MySql/LLL.DurableTask.EFCore.MySql.csproj +++ b/src/LLL.DurableTask.EFCore.MySql/LLL.DurableTask.EFCore.MySql.csproj @@ -2,8 +2,8 @@ net9.0;net8.0 - - $(Version)-preview + + @@ -19,7 +19,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/src/LLL.DurableTask.EFCore.PostgreSQL/LLL.DurableTask.EFCore.PostgreSQL.csproj b/src/LLL.DurableTask.EFCore.PostgreSQL/LLL.DurableTask.EFCore.PostgreSQL.csproj index 476f2cd..01f5089 100644 --- a/src/LLL.DurableTask.EFCore.PostgreSQL/LLL.DurableTask.EFCore.PostgreSQL.csproj +++ b/src/LLL.DurableTask.EFCore.PostgreSQL/LLL.DurableTask.EFCore.PostgreSQL.csproj @@ -1,13 +1,21 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 PostgreSQL extensions to EFCore Durable Task Storage + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all diff --git a/src/LLL.DurableTask.EFCore.SqlServer/LLL.DurableTask.EFCore.SqlServer.csproj b/src/LLL.DurableTask.EFCore.SqlServer/LLL.DurableTask.EFCore.SqlServer.csproj index 24e6799..d958484 100644 --- a/src/LLL.DurableTask.EFCore.SqlServer/LLL.DurableTask.EFCore.SqlServer.csproj +++ b/src/LLL.DurableTask.EFCore.SqlServer/LLL.DurableTask.EFCore.SqlServer.csproj @@ -1,13 +1,21 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 SqlServer extensions to EFCore Durable Task Storage + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all diff --git a/src/LLL.DurableTask.EFCore/Helpers/ParametersCollection.cs b/src/LLL.DurableTask.EFCore/Helpers/ParametersCollection.cs index f2d3c94..ee1ed23 100644 --- a/src/LLL.DurableTask.EFCore/Helpers/ParametersCollection.cs +++ b/src/LLL.DurableTask.EFCore/Helpers/ParametersCollection.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using System.Collections.Generic; namespace LLL.DurableTask.EFCore; @@ -27,4 +27,4 @@ IEnumerator IEnumerable.GetEnumerator() { return _values.GetEnumerator(); } -} \ No newline at end of file +} diff --git a/src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj b/src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj index e019c5e..ce25430 100644 --- a/src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj +++ b/src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj @@ -1,7 +1,7 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 latest @@ -9,6 +9,11 @@ EFCore implementation of Durable Task Storage + + + + + @@ -20,7 +25,7 @@ - + diff --git a/src/LLL.DurableTask.Server.Grpc.Client/LLL.DurableTask.Server.Grpc.Client.csproj b/src/LLL.DurableTask.Server.Grpc.Client/LLL.DurableTask.Server.Grpc.Client.csproj index c2682f1..480cf43 100644 --- a/src/LLL.DurableTask.Server.Grpc.Client/LLL.DurableTask.Server.Grpc.Client.csproj +++ b/src/LLL.DurableTask.Server.Grpc.Client/LLL.DurableTask.Server.Grpc.Client.csproj @@ -1,13 +1,18 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 Implements Durable Task Storage by connecting to a GRPC server + + + + + @@ -19,12 +24,12 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/src/LLL.DurableTask.Server.Grpc/LLL.DurableTask.Server.Grpc.csproj b/src/LLL.DurableTask.Server.Grpc/LLL.DurableTask.Server.Grpc.csproj index 3dcdb39..9d0bb2b 100644 --- a/src/LLL.DurableTask.Server.Grpc/LLL.DurableTask.Server.Grpc.csproj +++ b/src/LLL.DurableTask.Server.Grpc/LLL.DurableTask.Server.Grpc.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0 + net10.0;net9.0;net8.0 @@ -14,13 +14,13 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - + diff --git a/src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj b/src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj index e92b69d..361f2fd 100644 --- a/src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj +++ b/src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj @@ -1,13 +1,17 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 Exposes a Durable Task storage implementation + + + + @@ -17,7 +21,7 @@ - + diff --git a/src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj b/src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj index 165bd59..7428889 100644 --- a/src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj +++ b/src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj @@ -1,7 +1,7 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 true app\ $(DefaultItemExcludes);$(SpaRoot)node_modules\** diff --git a/src/LLL.DurableTask.Worker/LLL.DurableTask.Worker.csproj b/src/LLL.DurableTask.Worker/LLL.DurableTask.Worker.csproj index 3bc9381..728f908 100644 --- a/src/LLL.DurableTask.Worker/LLL.DurableTask.Worker.csproj +++ b/src/LLL.DurableTask.Worker/LLL.DurableTask.Worker.csproj @@ -1,13 +1,18 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 Configure Durable Task workers + + + + + @@ -19,7 +24,7 @@ - + diff --git a/test/LLL.DurableTask.Tests/LLL.DurableTask.Tests.csproj b/test/LLL.DurableTask.Tests/LLL.DurableTask.Tests.csproj index 61b4bd3..36d71d1 100644 --- a/test/LLL.DurableTask.Tests/LLL.DurableTask.Tests.csproj +++ b/test/LLL.DurableTask.Tests/LLL.DurableTask.Tests.csproj @@ -1,10 +1,15 @@ - net9.0;net8.0 + net10.0;net9.0;net8.0 false + + + + + @@ -34,7 +39,8 @@ - + diff --git a/test/LLL.DurableTask.Tests/Storages/MySqlEFCoreTests.cs b/test/LLL.DurableTask.Tests/Storages/MySqlEFCoreTests.cs index 09bac1f..69e12d5 100644 --- a/test/LLL.DurableTask.Tests/Storages/MySqlEFCoreTests.cs +++ b/test/LLL.DurableTask.Tests/Storages/MySqlEFCoreTests.cs @@ -1,4 +1,5 @@ -using Microsoft.EntityFrameworkCore; +#if !NET10_0 +using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Xunit; @@ -23,3 +24,4 @@ protected override void ConfigureStorage(IServiceCollection services) .UseMySql(connectionString, MySqlServerVersion.AutoDetect(connectionString)); } } +#endif diff --git a/test/LLL.DurableTask.Tests/Storages/StorageTestBase.cs b/test/LLL.DurableTask.Tests/Storages/StorageTestBase.cs index f621bcd..0e0a14d 100644 --- a/test/LLL.DurableTask.Tests/Storages/StorageTestBase.cs +++ b/test/LLL.DurableTask.Tests/Storages/StorageTestBase.cs @@ -37,7 +37,9 @@ public StorageTestBase(ITestOutputHelper output) { _output = output; -#if NET9_0 +#if NET10_0 + var framework = "net10"; +#elif NET9_0 var framework = "net9"; #elif NET8_0 var framework = "net8"; diff --git a/test/LLL.DurableTask.Tests/appsettings.net10.json b/test/LLL.DurableTask.Tests/appsettings.net10.json new file mode 100644 index 0000000..381b5f6 --- /dev/null +++ b/test/LLL.DurableTask.Tests/appsettings.net10.json @@ -0,0 +1,8 @@ +{ + "ConnectionStrings": { + "AzureStorageAccount": "", + "MySql": "server=localhost;database=durabletask_net10;user=root;password=root", + "Postgres": "Server=localhost;Port=5432;Database=durabletask_net10;User Id=postgres;Password=root", + "SqlServer": "server=localhost;database=durabletask_net10;user=sa;password=P1ssw0rd;Encrypt=False" + } +}