From e897a15bc66eb3cf0d3a344611653d88cf2fd962 Mon Sep 17 00:00:00 2001 From: Steffen Kolmer Date: Tue, 12 Nov 2024 21:19:39 +0100 Subject: [PATCH] feat: .NET 9 support --- .github/workflows/codeql.yml | 2 +- .github/workflows/publush.yml | 2 +- .github/workflows/pullRequest.yml | 2 +- .../Gridify.Elasticsearch.csproj | 2 +- .../Gridify.EntityFramework.csproj | 5 ++++- src/Gridify/Gridify.csproj | 6 +++++- .../EntityFrameworkIntegrationTests.cs.csproj | 12 ++++++------ ...ntityFrameworkPostgreSqlIntegrationTests.csproj | 14 +++++++------- ...tityFrameworkSqlProviderIntegrationTests.csproj | 14 +++++++------- .../Gridify.Elasticsearch.Tests.csproj | 8 ++++---- test/Gridify.Tests/Gridify.Tests.csproj | 14 +++++++------- 11 files changed, 44 insertions(+), 37 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bb839717..d55044b5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -66,7 +66,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Build env: HUSKY: 0 diff --git a/.github/workflows/publush.yml b/.github/workflows/publush.yml index ca36e84c..3ff40f8f 100644 --- a/.github/workflows/publush.yml +++ b/.github/workflows/publush.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/pullRequest.yml b/.github/workflows/pullRequest.yml index 66177a2e..8c40637f 100644 --- a/.github/workflows/pullRequest.yml +++ b/.github/workflows/pullRequest.yml @@ -14,7 +14,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/src/Gridify.Elasticsearch/Gridify.Elasticsearch.csproj b/src/Gridify.Elasticsearch/Gridify.Elasticsearch.csproj index 683b4ee9..737b6c8f 100644 --- a/src/Gridify.Elasticsearch/Gridify.Elasticsearch.csproj +++ b/src/Gridify.Elasticsearch/Gridify.Elasticsearch.csproj @@ -13,7 +13,7 @@ true snupkg README.md - net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0 + net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0;net9.0 default enable diff --git a/src/Gridify.EntityFramework/Gridify.EntityFramework.csproj b/src/Gridify.EntityFramework/Gridify.EntityFramework.csproj index 30eaf9e0..6d3076f4 100644 --- a/src/Gridify.EntityFramework/Gridify.EntityFramework.csproj +++ b/src/Gridify.EntityFramework/Gridify.EntityFramework.csproj @@ -14,7 +14,7 @@ true snupkg README.md - net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0 + net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0;net9.0 default enable @@ -43,4 +43,7 @@ + + + diff --git a/src/Gridify/Gridify.csproj b/src/Gridify/Gridify.csproj index 155ff3d1..d9a69cc3 100644 --- a/src/Gridify/Gridify.csproj +++ b/src/Gridify/Gridify.csproj @@ -18,7 +18,7 @@ snupkg true README.md - net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0 + net6.0;netstandard2.0;netstandard2.1;net7.0;net8.0;net9.0 @@ -26,6 +26,10 @@ + + + + diff --git a/test/EntityFrameworkIntegrationTests/EntityFrameworkIntegrationTests.cs.csproj b/test/EntityFrameworkIntegrationTests/EntityFrameworkIntegrationTests.cs.csproj index 4029905c..d4ad9236 100644 --- a/test/EntityFrameworkIntegrationTests/EntityFrameworkIntegrationTests.cs.csproj +++ b/test/EntityFrameworkIntegrationTests/EntityFrameworkIntegrationTests.cs.csproj @@ -1,15 +1,15 @@ - net8.0 + net9.0 - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/EntityFrameworkPostgreSqlIntegrationTests/EntityFrameworkPostgreSqlIntegrationTests.csproj b/test/EntityFrameworkPostgreSqlIntegrationTests/EntityFrameworkPostgreSqlIntegrationTests.csproj index 43f6b922..e89d400a 100644 --- a/test/EntityFrameworkPostgreSqlIntegrationTests/EntityFrameworkPostgreSqlIntegrationTests.csproj +++ b/test/EntityFrameworkPostgreSqlIntegrationTests/EntityFrameworkPostgreSqlIntegrationTests.csproj @@ -1,17 +1,17 @@ - net8.0 + net9.0 enable enable - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/EntityFrameworkSqlProviderIntegrationTests/EntityFrameworkSqlProviderIntegrationTests.csproj b/test/EntityFrameworkSqlProviderIntegrationTests/EntityFrameworkSqlProviderIntegrationTests.csproj index 5b43b97f..6f8844a2 100644 --- a/test/EntityFrameworkSqlProviderIntegrationTests/EntityFrameworkSqlProviderIntegrationTests.csproj +++ b/test/EntityFrameworkSqlProviderIntegrationTests/EntityFrameworkSqlProviderIntegrationTests.csproj @@ -1,18 +1,18 @@ - net8.0 + net9.0 EntityFrameworkIntegrationTests.cs - - - - + + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/Gridify.Elasticsearch.Tests/Gridify.Elasticsearch.Tests.csproj b/test/Gridify.Elasticsearch.Tests/Gridify.Elasticsearch.Tests.csproj index c19e7020..a786781e 100644 --- a/test/Gridify.Elasticsearch.Tests/Gridify.Elasticsearch.Tests.csproj +++ b/test/Gridify.Elasticsearch.Tests/Gridify.Elasticsearch.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 false latest enable @@ -10,9 +10,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/Gridify.Tests/Gridify.Tests.csproj b/test/Gridify.Tests/Gridify.Tests.csproj index 725a2a52..9459dccb 100644 --- a/test/Gridify.Tests/Gridify.Tests.csproj +++ b/test/Gridify.Tests/Gridify.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 false latest enable @@ -9,12 +9,12 @@ - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive