diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..89b575ef3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" + day: "tuesday" + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-major" + + - package-ecosystem: "dotnet-sdk" + directory: "/" + schedule: + interval: "weekly" + day: "tuesday" + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-major" + \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props index e9c7569ca..d7213f849 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -15,7 +15,7 @@ - + @@ -35,8 +35,8 @@ - - + + @@ -49,7 +49,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -78,8 +78,8 @@ - - + + @@ -114,8 +114,8 @@ - - + + diff --git a/samples/DurableTask.Samples/DurableTask.Samples.csproj b/samples/DurableTask.Samples/DurableTask.Samples.csproj index 2782a3274..6a5c66ba5 100644 --- a/samples/DurableTask.Samples/DurableTask.Samples.csproj +++ b/samples/DurableTask.Samples/DurableTask.Samples.csproj @@ -4,7 +4,7 @@ true Exe - net462 + net48 diff --git a/src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj b/src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj index 5ed626ae5..770052ae9 100644 --- a/src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj +++ b/src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj @@ -2,7 +2,7 @@ - net462;net472 + net48;net472 true Microsoft.Azure.DurableTask.AzureServiceFabric true @@ -16,7 +16,7 @@ $(NoWarn);NU5104 - + diff --git a/src/DurableTask.Emulator/DurableTask.Emulator.csproj b/src/DurableTask.Emulator/DurableTask.Emulator.csproj index b89e40bcc..6b4d3aa1c 100644 --- a/src/DurableTask.Emulator/DurableTask.Emulator.csproj +++ b/src/DurableTask.Emulator/DurableTask.Emulator.csproj @@ -2,7 +2,7 @@ - netstandard2.0;net462 + netstandard2.0;net48 Microsoft.Azure.DurableTask.Emulator NU5125;NU5048 diff --git a/src/DurableTask.ServiceBus/DurableTask.ServiceBus.csproj b/src/DurableTask.ServiceBus/DurableTask.ServiceBus.csproj index 36038afaa..724c67c17 100644 --- a/src/DurableTask.ServiceBus/DurableTask.ServiceBus.csproj +++ b/src/DurableTask.ServiceBus/DurableTask.ServiceBus.csproj @@ -2,7 +2,7 @@ - netstandard2.0;net462 + netstandard2.0;net48 Microsoft.Azure.DurableTask.ServiceBus AnyCPU;x64 @@ -24,7 +24,7 @@ $(VersionPrefix) - + diff --git a/test/DurableTask.AzureServiceFabric.Integration.Tests/DurableTask.AzureServiceFabric.Integration.Tests.csproj b/test/DurableTask.AzureServiceFabric.Integration.Tests/DurableTask.AzureServiceFabric.Integration.Tests.csproj index 203744464..09d30327f 100644 --- a/test/DurableTask.AzureServiceFabric.Integration.Tests/DurableTask.AzureServiceFabric.Integration.Tests.csproj +++ b/test/DurableTask.AzureServiceFabric.Integration.Tests/DurableTask.AzureServiceFabric.Integration.Tests.csproj @@ -2,7 +2,7 @@ - net462 + net48 true AnyCPU;x64 diff --git a/test/DurableTask.AzureServiceFabric.Tests/DurableTask.AzureServiceFabric.Tests.csproj b/test/DurableTask.AzureServiceFabric.Tests/DurableTask.AzureServiceFabric.Tests.csproj index c74247869..e409082a0 100644 --- a/test/DurableTask.AzureServiceFabric.Tests/DurableTask.AzureServiceFabric.Tests.csproj +++ b/test/DurableTask.AzureServiceFabric.Tests/DurableTask.AzureServiceFabric.Tests.csproj @@ -2,7 +2,7 @@ - net462 + net48 AnyCPU;x64 diff --git a/test/DurableTask.AzureStorage.Tests/AzureStorageScenarioTests.cs b/test/DurableTask.AzureStorage.Tests/AzureStorageScenarioTests.cs index aa4aa7026..c7fc9944b 100644 --- a/test/DurableTask.AzureStorage.Tests/AzureStorageScenarioTests.cs +++ b/test/DurableTask.AzureStorage.Tests/AzureStorageScenarioTests.cs @@ -36,7 +36,7 @@ namespace DurableTask.AzureStorage.Tests using Moq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -#if !NET462 +#if !NET48 using OpenTelemetry; using OpenTelemetry.Trace; #endif @@ -1652,7 +1652,7 @@ public async Task LargeMessage_WithEscapedInstanceId_CanBeStoredAndFetchedSucces // Use an instanceId that contains special characters which must be escaped in URIs string id = "test|123:with white spcae"; - var client = await host.StartOrchestrationAsync(typeof(Orchestrations.Echo), input:message, instanceId: id); + var client = await host.StartOrchestrationAsync(typeof(Orchestrations.Echo), input: message, instanceId: id); var status = await client.WaitForCompletionAsync(TimeSpan.FromMinutes(2)); Assert.AreEqual(OrchestrationStatus.Completed, status?.OrchestrationStatus); @@ -2633,7 +2633,7 @@ public async Task OrchestrationRejectsWithVersionMismatch() } } -#if !NET462 +#if !NET48 /// /// End-to-end test which validates a simple orchestrator function that calls an activity function /// and checks the OpenTelemetry trace information @@ -2687,7 +2687,7 @@ public async Task OpenTelemetry_SayHelloWithActivity(bool enableExtendedSessions Assert.AreEqual(12, processor.Invocations.Count); // Checking tag values - string activity2TypeValue = activity2.Tags.First(k => (k.Key).Equals("durabletask.type" )).Value; + string activity2TypeValue = activity2.Tags.First(k => (k.Key).Equals("durabletask.type")).Value; string activity5TypeValue = activity5.Tags.First(k => (k.Key).Equals("durabletask.type")).Value; string activity8TypeValue = activity8.Tags.First(k => (k.Key).Equals("durabletask.type")).Value; string activity9TypeValue = activity9.Tags.First(k => (k.Key).Equals("durabletask.type")).Value; diff --git a/test/DurableTask.AzureStorage.Tests/DurableTask.AzureStorage.Tests.csproj b/test/DurableTask.AzureStorage.Tests/DurableTask.AzureStorage.Tests.csproj index 16b2e8449..df42c925b 100644 --- a/test/DurableTask.AzureStorage.Tests/DurableTask.AzureStorage.Tests.csproj +++ b/test/DurableTask.AzureStorage.Tests/DurableTask.AzureStorage.Tests.csproj @@ -2,14 +2,14 @@ - net6.0;net462 + net6.0;net48 - + - +