diff --git a/.github/workflows/dotnet-buildandtest.yml b/.github/workflows/dotnet-buildandtest.yml index 7e30a04a..89798aba 100644 --- a/.github/workflows/dotnet-buildandtest.yml +++ b/.github/workflows/dotnet-buildandtest.yml @@ -12,16 +12,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.x + 9.x - name: Show dotnet version run: | dotnet --list-sdks dotnet --list-runtimes - name: Build with dotnet run: dotnet build ./src/Mapster.sln - - name: Run tests on .NET 8.0 + - name: Run tests on .NET 9.0 run: dotnet test --verbosity normal ./src/Mapster.sln diff --git a/src/Benchmark/Benchmark.csproj b/src/Benchmark/Benchmark.csproj index 739dc721..ba4b6b9f 100644 --- a/src/Benchmark/Benchmark.csproj +++ b/src/Benchmark/Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net9.0 true **/*.g.cs @@ -19,11 +19,11 @@ - + - - + + diff --git a/src/ExpressionDebugger/ExpressionDebugger.csproj b/src/ExpressionDebugger/ExpressionDebugger.csproj index 8b5e81f6..3b5154fb 100644 --- a/src/ExpressionDebugger/ExpressionDebugger.csproj +++ b/src/ExpressionDebugger/ExpressionDebugger.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0;net8.0; + net8.0;net9.0 True Chaowlert Chaisrichalermpol Step into debugging from linq expressions @@ -19,7 +19,7 @@ - + diff --git a/src/ExpressionTranslator/ExpressionTranslator.csproj b/src/ExpressionTranslator/ExpressionTranslator.csproj index 0bad5ffc..04b402f7 100644 --- a/src/ExpressionTranslator/ExpressionTranslator.csproj +++ b/src/ExpressionTranslator/ExpressionTranslator.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0;net8.0; + net8.0;net9.0 True Chaowlert Chaisrichalermpol Translate from linq expressions to C# code @@ -26,6 +26,6 @@ - + diff --git a/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj b/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj index 835d8547..f2f0bbf1 100644 --- a/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj +++ b/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj @@ -1,16 +1,16 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; false - - - - + + + + diff --git a/src/Mapster.Async/Mapster.Async.csproj b/src/Mapster.Async/Mapster.Async.csproj index 9ec82a66..c98231f4 100644 --- a/src/Mapster.Async/Mapster.Async.csproj +++ b/src/Mapster.Async/Mapster.Async.csproj @@ -1,13 +1,13 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; Async supports for Mapster true Mapster;Async true Mapster.Async.snk - 2.0.2-pre01 + 2.0.3-pre01 diff --git a/src/Mapster.Core/Mapster.Core.csproj b/src/Mapster.Core/Mapster.Core.csproj index 5bfd0a54..a57b880d 100644 --- a/src/Mapster.Core/Mapster.Core.csproj +++ b/src/Mapster.Core/Mapster.Core.csproj @@ -1,10 +1,10 @@  Lightweight library for Mapster and Mapster CodeGen - net8.0;net7.0;net6.0 + net9.0;net8.0; Mapster.Core mapster - 1.2.2-pre01 + 1.2.3-pre01 enable true true diff --git a/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj b/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj index 4f02a26a..53f9a5be 100644 --- a/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj +++ b/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj @@ -1,17 +1,17 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; false - - - - - + + + + + diff --git a/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj b/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj index f806c551..23cb1b76 100644 --- a/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj +++ b/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj @@ -1,19 +1,19 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; Dependency Injection supports for Mapster true Mapster;DependencyInjection true Mapster.DependencyInjection.snk - 1.0.2-pre01 + 1.0.3-pre01 - + diff --git a/src/Mapster.EF6/Mapster.EF6.csproj b/src/Mapster.EF6/Mapster.EF6.csproj index 2f4b1b25..9ce95d04 100644 --- a/src/Mapster.EF6/Mapster.EF6.csproj +++ b/src/Mapster.EF6/Mapster.EF6.csproj @@ -1,17 +1,17 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; EF6 plugin for Mapster true Mapster;EF6 True true Mapster.EF6.snk - 2.0.2-pre01 + 2.0.3-pre01 - + diff --git a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj index e0a55450..d3729dfd 100644 --- a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj +++ b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj @@ -1,21 +1,21 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; false - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Mapster.EFCore/Mapster.EFCore.csproj b/src/Mapster.EFCore/Mapster.EFCore.csproj index db82d4b6..11e97230 100644 --- a/src/Mapster.EFCore/Mapster.EFCore.csproj +++ b/src/Mapster.EFCore/Mapster.EFCore.csproj @@ -1,18 +1,18 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; EFCore plugin for Mapster true Mapster;EFCore True true Mapster.EFCore.snk - 5.1.2-pre01 + 5.1.3-pre01 - + diff --git a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj index bbb9f594..ca5fda1f 100644 --- a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj +++ b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj @@ -1,20 +1,20 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; false - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Mapster.Immutable/Mapster.Immutable.csproj b/src/Mapster.Immutable/Mapster.Immutable.csproj index 6bfa1057..e7598f83 100644 --- a/src/Mapster.Immutable/Mapster.Immutable.csproj +++ b/src/Mapster.Immutable/Mapster.Immutable.csproj @@ -1,20 +1,20 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; Immutable collection supports for Mapster true Mapster;Immutable true Mapster.Immutable.snk - 1.0.2-pre01 + 1.0.3-pre01 enable - + diff --git a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj index 1841f5c6..2b0c5b6c 100644 --- a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj +++ b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj @@ -1,16 +1,16 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; false - - - - + + + + diff --git a/src/Mapster.JsonNet/Mapster.JsonNet.csproj b/src/Mapster.JsonNet/Mapster.JsonNet.csproj index 0101057d..3eb615ff 100644 --- a/src/Mapster.JsonNet/Mapster.JsonNet.csproj +++ b/src/Mapster.JsonNet/Mapster.JsonNet.csproj @@ -1,17 +1,17 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; Json.net conversion supports for Mapster true Mapster;Json.net true Mapster.JsonNet.snk - 1.1.2-pre01 + 1.1.3-pre01 - + diff --git a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj index 74dbf23e..6ddef117 100644 --- a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj +++ b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj @@ -1,7 +1,7 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; Source generator to generate mapping using Mapster source-generator;mapster true @@ -18,8 +18,8 @@ - - + + diff --git a/src/Mapster.Tests/Mapster.Tests.csproj b/src/Mapster.Tests/Mapster.Tests.csproj index 4121ac36..1fd66a01 100644 --- a/src/Mapster.Tests/Mapster.Tests.csproj +++ b/src/Mapster.Tests/Mapster.Tests.csproj @@ -1,7 +1,7 @@ - net8.0;net7.0;net6.0 + net9.0;net8.0; false Mapster.Tests Mapster.Tests.snk @@ -9,11 +9,11 @@ true - - - - - + + + + + diff --git a/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj b/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj index f5797195..e440ff10 100644 --- a/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj +++ b/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj @@ -1,7 +1,7 @@  - net7.0;net6.0 + net9.0;net8.0 enable enable @@ -9,15 +9,15 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Mapster.Tool/Mapster.Tool.csproj b/src/Mapster.Tool/Mapster.Tool.csproj index d7921c64..2e590e02 100644 --- a/src/Mapster.Tool/Mapster.Tool.csproj +++ b/src/Mapster.Tool/Mapster.Tool.csproj @@ -2,7 +2,7 @@ Exe - net8.0;net7.0;net6.0 + net9.0;net8.0; true true dotnet-mapster @@ -10,7 +10,7 @@ Mapster;Tool true Mapster.Tool.snk - 8.4.1-pre01 + 8.4.2-pre01 enable @@ -19,8 +19,8 @@ - - + + diff --git a/src/Mapster/Mapster.csproj b/src/Mapster/Mapster.csproj index 60ff3663..b208e106 100644 --- a/src/Mapster/Mapster.csproj +++ b/src/Mapster/Mapster.csproj @@ -4,7 +4,7 @@ A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster. Copyright (c) 2016 Chaowlert Chaisrichalermpol, Eric Swann chaowlert;eric_swann - net8.0;net7.0;net6.0 + net9.0;net8.0; Mapster A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster. Mapster @@ -16,7 +16,7 @@ true Mapster - 7.4.1-pre01 + 7.4.2-pre01 enable 1701;1702;8618 diff --git a/src/Sample.AspNetCore/Sample.AspNetCore.csproj b/src/Sample.AspNetCore/Sample.AspNetCore.csproj index 7cf57a89..c24c9428 100644 --- a/src/Sample.AspNetCore/Sample.AspNetCore.csproj +++ b/src/Sample.AspNetCore/Sample.AspNetCore.csproj @@ -1,15 +1,15 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; - - - - + + + + diff --git a/src/Sample.CodeGen/Sample.CodeGen.csproj b/src/Sample.CodeGen/Sample.CodeGen.csproj index f288e135..9c0bf793 100644 --- a/src/Sample.CodeGen/Sample.CodeGen.csproj +++ b/src/Sample.CodeGen/Sample.CodeGen.csproj @@ -1,16 +1,16 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; enable - - - - - + + + + + diff --git a/src/TemplateTest/TemplateTest.csproj b/src/TemplateTest/TemplateTest.csproj index 8a3bc1b3..96caad44 100644 --- a/src/TemplateTest/TemplateTest.csproj +++ b/src/TemplateTest/TemplateTest.csproj @@ -1,17 +1,20 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0; enable false - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +