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 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 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 @@ + + + - + + + + + +