From 906db66755d4f7dd4a97a965acd93d5a864f3786 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Mon, 25 Mar 2024 15:57:04 -0500 Subject: [PATCH] update packages --- .github/workflows/dotnet.yml | 5 +++-- src/Directory.Build.props | 5 ++--- src/EntityChange/EntityChange.csproj | 4 ++-- src/EntityChange/EntityConfiguration.cs | 2 +- test/EntityChange.Tests/EntityChange.Tests.csproj | 12 ++++++------ 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 240922a..3c21897 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -31,9 +31,10 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v3 with: - dotnet-version: | + dotnet-version: | 6.0.x 7.0.x + 8.0.x - name: Restore Dependencies run: dotnet restore @@ -44,7 +45,7 @@ jobs: - name: Run Test run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings - - name: Generate Coverage + - name: Generate Coverage uses: danielpalme/ReportGenerator-GitHub-Action@5.1.23 with: reports: '${{github.workspace}}/test/*/TestResults/*/coverage.info' diff --git a/src/Directory.Build.props b/src/Directory.Build.props index c8c98fe..3c41f06 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -32,10 +32,9 @@ v - + - - + diff --git a/src/EntityChange/EntityChange.csproj b/src/EntityChange/EntityChange.csproj index 78ac11b..52bab30 100644 --- a/src/EntityChange/EntityChange.csproj +++ b/src/EntityChange/EntityChange.csproj @@ -1,10 +1,10 @@ - netstandard2.0;net6.0;net7.0 + netstandard2.0;net6.0;net7.0;net8.0 1591 - + diff --git a/src/EntityChange/EntityConfiguration.cs b/src/EntityChange/EntityConfiguration.cs index 1faf58f..9e6b2c0 100644 --- a/src/EntityChange/EntityConfiguration.cs +++ b/src/EntityChange/EntityConfiguration.cs @@ -83,7 +83,7 @@ public EntityMapping GetMapping(Type type) if (!autoMap) return mapping; - // thread-safe initialization + // thread-safe initialization lock (mapping.SyncRoot) { if (mapping.Mapped) diff --git a/test/EntityChange.Tests/EntityChange.Tests.csproj b/test/EntityChange.Tests/EntityChange.Tests.csproj index 83dd441..96e7669 100644 --- a/test/EntityChange.Tests/EntityChange.Tests.csproj +++ b/test/EntityChange.Tests/EntityChange.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 false @@ -10,14 +10,14 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive