From f069b65e5275e7a0f459b3f9515601e844fadf5c Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Mon, 11 Dec 2023 21:22:01 +0330 Subject: [PATCH 1/5] fix actions --- .github/workflows/dotnet-format-action.yml | 6 +++--- .github/workflows/dotnet-linux.yml | 15 ++++++++++++--- .github/workflows/dotnet-macos.yml | 15 ++++++++++++--- .github/workflows/dotnet-windows.yml | 2 +- .github/workflows/nuget-push-public.yml | 15 ++++++++++++--- .github/workflows/release.yml | 12 +++++++++--- 6 files changed, 49 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dotnet-format-action.yml b/.github/workflows/dotnet-format-action.yml index b20e59d..5b3a85f 100644 --- a/.github/workflows/dotnet-format-action.yml +++ b/.github/workflows/dotnet-format-action.yml @@ -24,13 +24,13 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} action: "fix" - workspace: "./src/CSharp/EasyMicroservices.Serialization.sln" + workspace: "./src/CSharp/EasyMicroservices.Serialization-net6.0.sln" - name: Test - run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln + run: dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln - name: Test to generate Code Coverage Report working-directory: ./src/CSharp run: | - dotnet build ./EasyMicroservices.Serialization.sln + dotnet build ./EasyMicroservices.Serialization-net6.0.sln dotnet tool install --global coverlet.console coverlet EasyMicroservices.Serialization.Tests/bin/Debug/net6.0/EasyMicroservices.Serialization.Tests.dll --target "dotnet" --targetargs "test EasyMicroservices.Serialization.Tests/bin/Debug/net6.0/EasyMicroservices.Serialization.Tests.dll --no-build" -f opencover - name: OpenCover Badge Generator diff --git a/.github/workflows/dotnet-linux.yml b/.github/workflows/dotnet-linux.yml index f9094b5..36b583b 100644 --- a/.github/workflows/dotnet-linux.yml +++ b/.github/workflows/dotnet-linux.yml @@ -21,8 +21,17 @@ jobs: 7.0.x 8.0.x - name: Restore dependencies - run: dotnet restore ./src/CSharp/EasyMicroservices.Serialization.sln + run: | + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln - name: Build - run: dotnet build ./src/CSharp/EasyMicroservices.Serialization.sln --no-restore + run: | + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build --verbosity diag + run: | + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build --verbosity normal diff --git a/.github/workflows/dotnet-macos.yml b/.github/workflows/dotnet-macos.yml index 282c82e..a3c5938 100644 --- a/.github/workflows/dotnet-macos.yml +++ b/.github/workflows/dotnet-macos.yml @@ -21,8 +21,17 @@ jobs: 7.0.x 8.0.x - name: Restore dependencies - run: dotnet restore ./src/CSharp/EasyMicroservices.Serialization.sln + run: | + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln - name: Build - run: dotnet build ./src/CSharp/EasyMicroservices.Serialization.sln --no-restore + run: | + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build --verbosity diag + run: | + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build --verbosity normal diff --git a/.github/workflows/dotnet-windows.yml b/.github/workflows/dotnet-windows.yml index 527f8f7..17dc146 100644 --- a/.github/workflows/dotnet-windows.yml +++ b/.github/workflows/dotnet-windows.yml @@ -25,4 +25,4 @@ jobs: - name: Build run: dotnet build ./src/CSharp/EasyMicroservices.Serialization.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build --verbosity diag + run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build --verbosity normal diff --git a/.github/workflows/nuget-push-public.yml b/.github/workflows/nuget-push-public.yml index ba5c728..ab34c41 100644 --- a/.github/workflows/nuget-push-public.yml +++ b/.github/workflows/nuget-push-public.yml @@ -18,11 +18,20 @@ jobs: env: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: Restore dependencies - run: dotnet restore ./src/CSharp/EasyMicroservices.Serialization.sln + run: | + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln - name: Build - run: dotnet build ./src/CSharp/EasyMicroservices.Serialization.sln --no-restore + run: | + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build --verbosity diag + run: | + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build --verbosity normal + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build --verbosity normal - name: Create the package run: dotnet pack ./src/CSharp/EasyMicroservices.Serialization.sln --output nupkgs - name: Publish the package to NuGet.org diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a8e2c9..3979660 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,15 @@ jobs: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: build and test run: | - dotnet restore ./src/CSharp/EasyMicroservices.Serialization.sln - dotnet build ./src/CSharp/EasyMicroservices.Serialization.sln --no-restore - dotnet test ./src/CSharp/EasyMicroservices.Serialization.sln --no-build + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln + dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore + dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build + dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build - name: setup semantic-release run: | npm install -D semantic-release From d7e535cacba9d985f740cf451b1a17311f412366 Mon Sep 17 00:00:00 2001 From: Ali-YousefiTelori Date: Mon, 11 Dec 2023 17:53:23 +0000 Subject: [PATCH 2/5] "Updated code coverage badges [skip ci]" --- src/CSharp/coverage-badge-line.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharp/coverage-badge-line.svg b/src/CSharp/coverage-badge-line.svg index a63b82b..45a8e24 100644 --- a/src/CSharp/coverage-badge-line.svg +++ b/src/CSharp/coverage-badge-line.svg @@ -1 +1 @@ - coverage: linecoverage: line58.41%58.41% \ No newline at end of file + coverage: linecoverage: line35.11%35.11% \ No newline at end of file From 1a0c416ebec1f5cd008fb74aaa651c2635902fb2 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 11 Dec 2023 17:53:24 +0000 Subject: [PATCH 3/5] chore: Automated dotnet-format update --- .../BinaryGoExtensions.cs | 2 +- .../MemoryPackExtensions.cs | 2 +- .../MessagePackExtensions.cs | 2 +- .../NewtonsoftJsonExtensions.cs | 2 +- src/CSharp/coverage.opencover.xml | 775 ++++++++++++++++++ 5 files changed, 779 insertions(+), 4 deletions(-) create mode 100644 src/CSharp/coverage.opencover.xml diff --git a/src/CSharp/EasyMicroservices.Serialization.BinaryGo/BinaryGoExtensions.cs b/src/CSharp/EasyMicroservices.Serialization.BinaryGo/BinaryGoExtensions.cs index 547e0f0..cd43c40 100644 --- a/src/CSharp/EasyMicroservices.Serialization.BinaryGo/BinaryGoExtensions.cs +++ b/src/CSharp/EasyMicroservices.Serialization.BinaryGo/BinaryGoExtensions.cs @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; -using EasyMicroservices.Serialization.Options; using EasyMicroservices.Serialization.BinaryGo.Providers; +using EasyMicroservices.Serialization.Options; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/CSharp/EasyMicroservices.Serialization.MemoryPack/MemoryPackExtensions.cs b/src/CSharp/EasyMicroservices.Serialization.MemoryPack/MemoryPackExtensions.cs index 262b122..7ffffc2 100644 --- a/src/CSharp/EasyMicroservices.Serialization.MemoryPack/MemoryPackExtensions.cs +++ b/src/CSharp/EasyMicroservices.Serialization.MemoryPack/MemoryPackExtensions.cs @@ -1,6 +1,6 @@ using System; -using EasyMicroservices.Serialization.Options; using EasyMicroservices.Serialization.MemoryPack.Providers; +using EasyMicroservices.Serialization.Options; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/CSharp/EasyMicroservices.Serialization.MessagePack/MessagePackExtensions.cs b/src/CSharp/EasyMicroservices.Serialization.MessagePack/MessagePackExtensions.cs index e5ff4fa..b37e363 100644 --- a/src/CSharp/EasyMicroservices.Serialization.MessagePack/MessagePackExtensions.cs +++ b/src/CSharp/EasyMicroservices.Serialization.MessagePack/MessagePackExtensions.cs @@ -1,6 +1,6 @@ using System; -using EasyMicroservices.Serialization.Options; using EasyMicroservices.Serialization.MessagePack.Providers; +using EasyMicroservices.Serialization.Options; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/CSharp/EasyMicroservices.Serialization.NewtonSoft.Json/NewtonsoftJsonExtensions.cs b/src/CSharp/EasyMicroservices.Serialization.NewtonSoft.Json/NewtonsoftJsonExtensions.cs index 4d51959..e2cc10f 100644 --- a/src/CSharp/EasyMicroservices.Serialization.NewtonSoft.Json/NewtonsoftJsonExtensions.cs +++ b/src/CSharp/EasyMicroservices.Serialization.NewtonSoft.Json/NewtonsoftJsonExtensions.cs @@ -1,6 +1,6 @@ using System; -using EasyMicroservices.Serialization.Options; using EasyMicroservices.Serialization.Newtonsoft.Json.Providers; +using EasyMicroservices.Serialization.Options; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/CSharp/coverage.opencover.xml b/src/CSharp/coverage.opencover.xml new file mode 100644 index 0000000..2d1ccf9 --- /dev/null +++ b/src/CSharp/coverage.opencover.xml @@ -0,0 +1,775 @@ + + + + + + EasyMicroservices.Serialization.System.Text.Json.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.System.Text.Json + + + + + + + + + Microsoft.Extensions.DependencyInjection.SystemTextJsonExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.SystemTextJsonExtensions::UseSystemTextJson(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.SystemTextJsonExtensions::UseSystemTextJsonBinary(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonBinaryProvider + + + + + T EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonBinaryProvider::Deserialize(System.ReadOnlySpan`1<System.Byte>) + + + + + + + + + + + + + System.ReadOnlySpan`1<System.Byte> EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonBinaryProvider::Serialize(T) + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonBinaryProvider::.ctor(System.Text.Json.JsonSerializerOptions) + + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonBinaryProvider::.ctor() + + + + + + + + + + + + + + EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonProvider + + + + + T EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonProvider::Deserialize(System.String) + + + + + + + + + + + + + System.String EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonProvider::Serialize(T) + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonProvider::.ctor(System.Text.Json.JsonSerializerOptions) + + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.System.Text.Json.Providers.SystemTextJsonProvider::.ctor() + + + + + + + + + + + + + + + EasyMicroservices.Serialization.BinaryGo.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.BinaryGo + + + + + + + + EasyMicroservices.Serialization.BinaryGo.Providers.BinaryGoProvider + + + + + T EasyMicroservices.Serialization.BinaryGo.Providers.BinaryGoProvider::Deserialize(System.ReadOnlySpan`1<System.Byte>) + + + + + + + + + + + + + + + System.ReadOnlySpan`1<System.Byte> EasyMicroservices.Serialization.BinaryGo.Providers.BinaryGoProvider::Serialize(T) + + + + + + + + + + + + + + + + Microsoft.Extensions.DependencyInjection.BinaryGoExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.BinaryGoExtensions::UseBinaryGo(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.Newtonsoft.Json.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.Newtonsoft.Json + + + + + + + + EasyMicroservices.Serialization.Newtonsoft.Json.Providers.NewtonsoftJsonProvider + + + + + T EasyMicroservices.Serialization.Newtonsoft.Json.Providers.NewtonsoftJsonProvider::Deserialize(System.String) + + + + + + + + + + + + + System.String EasyMicroservices.Serialization.Newtonsoft.Json.Providers.NewtonsoftJsonProvider::Serialize(T) + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.Newtonsoft.Json.Providers.NewtonsoftJsonProvider::.ctor(Newtonsoft.Json.JsonSerializerSettings) + + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.Newtonsoft.Json.Providers.NewtonsoftJsonProvider::.ctor() + + + + + + + + + + + + + + Microsoft.Extensions.DependencyInjection.NewtonsoftJsonExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.NewtonsoftJsonExtensions::UseNewtonsoftJson(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization + + + + + + + + + + EasyMicroservices.Serialization.Providers.BaseProvider + + + + + System.Boolean EasyMicroservices.Serialization.Providers.BaseProvider::CanConvert(System.Type) + + + + + + + + + + + + + System.Collections.Generic.Dictionary`2<System.Type,System.Type> EasyMicroservices.Serialization.Providers.BaseProvider::get_ReplacedWithARuntimeType() + + + + + + + + + + + System.Type EasyMicroservices.Serialization.Providers.BaseProvider::GetReplacedType(System.Type) + + + + + + + + + + + + + + + + + + + + + + + + + + + + System.Boolean EasyMicroservices.Serialization.Providers.BaseProvider::CanReplaceType(System.Type) + + + + + + + + + + + + + System.Type EasyMicroservices.Serialization.Providers.BaseProvider::ReplaceType(System.Type) + + + + + + + + + + + + + + EasyMicroservices.Serialization.Providers.BinarySerializationBaseProvider + + + + + System.ReadOnlySpan`1<System.Byte> EasyMicroservices.Serialization.Providers.BinarySerializationBaseProvider::SerializeToBytes(T) + + + + + + + + + + + + + T EasyMicroservices.Serialization.Providers.BinarySerializationBaseProvider::DeserializeFromBytes(System.ReadOnlySpan`1<System.Byte>) + + + + + + + + + + + + + + EasyMicroservices.Serialization.Providers.TextSerializationBaseProvider + + + + + System.ReadOnlySpan`1<System.Byte> EasyMicroservices.Serialization.Providers.TextSerializationBaseProvider::SerializeToBytes(T) + + + + + + + + + + + + + T EasyMicroservices.Serialization.Providers.TextSerializationBaseProvider::DeserializeFromBytes(System.ReadOnlySpan`1<System.Byte>) + + + + + + + + + + + + + + EasyMicroservices.Serialization.Options.SerializationOptionBuilder + + + + + System.Void EasyMicroservices.Serialization.Options.SerializationOptionBuilder::UseTextSerialization(System.Func`1<EasyMicroservices.Serialization.Interfaces.ITextSerializationProvider>) + + + + + + + + + + + + + + + + + + System.Void EasyMicroservices.Serialization.Options.SerializationOptionBuilder::UseBinarySerialization(System.Func`1<EasyMicroservices.Serialization.Interfaces.IBinarySerializationProvider>) + + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.Interfaces.ITextSerializationProvider EasyMicroservices.Serialization.Options.SerializationOptionBuilder::GetTextSerialization() + + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.Interfaces.IBinarySerializationProvider EasyMicroservices.Serialization.Options.SerializationOptionBuilder::GetBinarySerialization() + + + + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.YamlDotNet.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.YamlDotNet + + + + + + + + Microsoft.Extensions.DependencyInjection.YamlDotNetExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.YamlDotNetExtensions::UseYamlDotNet(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.YamlDotNet.Providers.YamlDotNetProvider + + + + + T EasyMicroservices.Serialization.YamlDotNet.Providers.YamlDotNetProvider::Deserialize(System.String) + + + + + + + + + + + + + + + + System.String EasyMicroservices.Serialization.YamlDotNet.Providers.YamlDotNetProvider::Serialize(T) + + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.MessagePack.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.MessagePack + + + + + + + + EasyMicroservices.Serialization.MessagePack.Providers.MessagePackProvider + + + + + T EasyMicroservices.Serialization.MessagePack.Providers.MessagePackProvider::Deserialize(System.ReadOnlySpan`1<System.Byte>) + + + + + + + + + + + + + System.ReadOnlySpan`1<System.Byte> EasyMicroservices.Serialization.MessagePack.Providers.MessagePackProvider::Serialize(T) + + + + + + + + + + + + + + Microsoft.Extensions.DependencyInjection.MessagePackExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.MessagePackExtensions::UseMessagePack(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.System.Text.Xml.dll + 2023-12-11T05:53:23 + EasyMicroservices.Serialization.System.Text.Xml + + + + + + + + Microsoft.Extensions.DependencyInjection.SystemTextXmlExtensions + + + + + EasyMicroservices.Serialization.Options.SerializationOption Microsoft.Extensions.DependencyInjection.SystemTextXmlExtensions::UseSystemTextXml(EasyMicroservices.Serialization.Options.SerializationOption) + + + + + + + + + + + + + + + + EasyMicroservices.Serialization.System.Text.Xml.Providers.SystemTextXmlProvider + + + + + T EasyMicroservices.Serialization.System.Text.Xml.Providers.SystemTextXmlProvider::Deserialize(System.String) + + + + + + + + + + + + + + System.String EasyMicroservices.Serialization.System.Text.Xml.Providers.SystemTextXmlProvider::Serialize(T) + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 2a3f910c631dedac5e982cc88c32f46ec7b9ee2d Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Mon, 11 Dec 2023 21:35:14 +0330 Subject: [PATCH 4/5] remove dotnet 8 from tests --- .../EasyMicroservices.Serialization.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharp/EasyMicroservices.Serialization.Tests/EasyMicroservices.Serialization.Tests.csproj b/src/CSharp/EasyMicroservices.Serialization.Tests/EasyMicroservices.Serialization.Tests.csproj index d7183b5..76c5e25 100644 --- a/src/CSharp/EasyMicroservices.Serialization.Tests/EasyMicroservices.Serialization.Tests.csproj +++ b/src/CSharp/EasyMicroservices.Serialization.Tests/EasyMicroservices.Serialization.Tests.csproj @@ -8,7 +8,7 @@ - net6.0;net48;net452;net8.0;net7.0;net8.0 + net6.0;net48;net452;net8.0;net7.0 From 8fc5d528d6b0d9fdb062b961de6aa726522125fb Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Mon, 11 Dec 2023 22:25:36 +0330 Subject: [PATCH 5/5] fix actions --- .github/workflows/dotnet-linux.yml | 3 --- .github/workflows/dotnet-macos.yml | 3 --- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/dotnet-linux.yml b/.github/workflows/dotnet-linux.yml index 36b583b..5439244 100644 --- a/.github/workflows/dotnet-linux.yml +++ b/.github/workflows/dotnet-linux.yml @@ -24,14 +24,11 @@ jobs: run: | dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln - dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln - name: Build run: | dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore - dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore - name: Test run: | dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build --verbosity normal dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build --verbosity normal - dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build --verbosity normal diff --git a/.github/workflows/dotnet-macos.yml b/.github/workflows/dotnet-macos.yml index a3c5938..4018b01 100644 --- a/.github/workflows/dotnet-macos.yml +++ b/.github/workflows/dotnet-macos.yml @@ -24,14 +24,11 @@ jobs: run: | dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln - dotnet restore ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln - name: Build run: | dotnet build ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-restore dotnet build ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-restore - dotnet build ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-restore - name: Test run: | dotnet test ./src/CSharp/EasyMicroservices.Serialization-net6.0.sln --no-build --verbosity normal dotnet test ./src/CSharp/EasyMicroservices.Serialization-net7.0.sln --no-build --verbosity normal - dotnet test ./src/CSharp/EasyMicroservices.Serialization-net8.0.sln --no-build --verbosity normal