From dd8b3acd1f4d4e7789bcac36b850c2e6f37335b2 Mon Sep 17 00:00:00 2001 From: kubagdynia Date: Sun, 9 Feb 2025 10:54:07 +0100 Subject: [PATCH 1/3] Added net9.0 to the TargetFrameworks --- .../Dapper.CustomTypeHandlers.Tests.csproj | 14 +++++++++++--- .../Dapper.CustomTypeHandlers.csproj | 12 ++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.Tests/Dapper.CustomTypeHandlers.Tests.csproj b/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.Tests/Dapper.CustomTypeHandlers.Tests.csproj index db49e8d..390092e 100644 --- a/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.Tests/Dapper.CustomTypeHandlers.Tests.csproj +++ b/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.Tests/Dapper.CustomTypeHandlers.Tests.csproj @@ -1,18 +1,26 @@  - net7.0;net8.0 + net7.0;net8.0;net9.0 - - + + + + + + + + + + diff --git a/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.csproj b/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.csproj index f7912e5..0380e3f 100644 --- a/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.csproj +++ b/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.csproj @@ -1,7 +1,7 @@  - net7.0;net8.0 + net7.0;net8.0;net9.0 Dapper.CustomTypeHandlers Dapper custom type handlers to serialize/deserialize objects to Xml and Json. dapper orm xml json database sql customhandlers @@ -23,8 +23,16 @@ + + + - + + + + + + From 0076f69f71f2b786a51f30cb8b3fdbefbabd9964 Mon Sep 17 00:00:00 2001 From: kubagdynia Date: Sun, 9 Feb 2025 10:57:06 +0100 Subject: [PATCH 2/3] Added net9.0 to the TargetFrameworks --- .github/workflows/dotnet.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0b19f56..5fb75cf 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -35,6 +35,11 @@ jobs: with: dotnet-version: 8.0.x + - name: Setup .NET 9.0.x + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + - name: List installed .NET SDKs run: dotnet --list-sdks From 3dfb869b4bd357d13591ddd46ad41f1f3dcf17eb Mon Sep 17 00:00:00 2001 From: kubagdynia Date: Mon, 10 Feb 2025 17:55:29 +0100 Subject: [PATCH 3/3] Update github workflow --- .github/workflows/publish.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cdbc55f..62cb396 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,20 +17,26 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup .NET + - name: Setup .NET 7.0.x + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 7.0.x + + - name: Setup .NET 8.0.x uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x + + - name: Setup .NET 9.0.x + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x - - name: Display dotnet version - run: dotnet --version - - - name: Restore dependencies - run: dotnet restore - working-directory: ${{env.working-directory}} + - name: List installed .NET SDKs + run: dotnet --list-sdks - name: Build the project - run: dotnet build --configuration Release --no-restore + run: dotnet build --configuration Release working-directory: ${{env.working-directory}} - name: Run tests