diff --git a/.github/workflows/Core validation.yml b/.github/workflows/Core validation.yml index 4d56d1d..b7d68f5 100644 --- a/.github/workflows/Core validation.yml +++ b/.github/workflows/Core validation.yml @@ -16,20 +16,21 @@ jobs: CONFIGURATION: Release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 3.1.x + 6.x 7.x 8.x + 9.x - - name: Set up JDK 11 - uses: actions/setup-java@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: distribution: microsoft java-version: 17 @@ -63,7 +64,7 @@ jobs: run: dotnet build --no-restore --configuration "${{ env.CONFIGURATION }}" - name: Test the solution - run: dotnet test --no-build --configuration "${{ env.CONFIGURATION }}" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + run: dotnet test --no-build --configuration "${{ env.CONFIGURATION }}" --collect "XPlat Code Coverage;Format=opencover" - name: Finalize analyzation with SonarCloud run: ./.sonar/scanner/dotnet-sonarscanner end ${{ env.SONAR_ARGS }} diff --git a/.github/workflows/Publish packages.yml b/.github/workflows/Publish packages.yml index ce031b0..1684176 100644 --- a/.github/workflows/Publish packages.yml +++ b/.github/workflows/Publish packages.yml @@ -14,17 +14,18 @@ jobs: NUGET_SOURCE: https://api.nuget.org/v3/index.json steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 3.1.x + 6.x 7.x 8.x + 9.x - name: Restore dependencies run: dotnet restore diff --git a/TryAtSoftware.Extensions.Collections.Tests/TryAtSoftware.Extensions.Collections.Tests.csproj b/TryAtSoftware.Extensions.Collections.Tests/TryAtSoftware.Extensions.Collections.Tests.csproj index 7b8aa60..b044f86 100644 --- a/TryAtSoftware.Extensions.Collections.Tests/TryAtSoftware.Extensions.Collections.Tests.csproj +++ b/TryAtSoftware.Extensions.Collections.Tests/TryAtSoftware.Extensions.Collections.Tests.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net7.0;net8.0 + net6.0;net7.0;net8.0;net9.0 latest enable @@ -10,26 +10,22 @@ - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + - - + + diff --git a/TryAtSoftware.Extensions.Collections/TryAtSoftware.Extensions.Collections.csproj b/TryAtSoftware.Extensions.Collections/TryAtSoftware.Extensions.Collections.csproj index baf0b64..55dd980 100644 --- a/TryAtSoftware.Extensions.Collections/TryAtSoftware.Extensions.Collections.csproj +++ b/TryAtSoftware.Extensions.Collections/TryAtSoftware.Extensions.Collections.csproj @@ -1,7 +1,7 @@  - netstandard2.1;net7.0;net8.0 + netstandard2.1;net7.0 latest enable @@ -18,7 +18,7 @@ - + diff --git a/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests.csproj b/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests.csproj index 5d18588..b24243e 100644 --- a/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests.csproj +++ b/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests/TryAtSoftware.Extensions.DependencyInjection.Standard.Tests.csproj @@ -1,7 +1,7 @@  - net7.0;net8.0 + net7.0;net8.0;net9.0 enable enable @@ -10,24 +10,20 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/TryAtSoftware.Extensions.DependencyInjection.Standard/TryAtSoftware.Extensions.DependencyInjection.Standard.csproj b/TryAtSoftware.Extensions.DependencyInjection.Standard/TryAtSoftware.Extensions.DependencyInjection.Standard.csproj index e0b3d76..868997f 100644 --- a/TryAtSoftware.Extensions.DependencyInjection.Standard/TryAtSoftware.Extensions.DependencyInjection.Standard.csproj +++ b/TryAtSoftware.Extensions.DependencyInjection.Standard/TryAtSoftware.Extensions.DependencyInjection.Standard.csproj @@ -1,7 +1,7 @@ - netstandard2.1;net8.0 + netstandard2.1;net8.0;net9.0 latest enable @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -33,6 +33,10 @@ + + + + diff --git a/TryAtSoftware.Extensions.DependencyInjection.Tests/TryAtSoftware.Extensions.DependencyInjection.Tests.csproj b/TryAtSoftware.Extensions.DependencyInjection.Tests/TryAtSoftware.Extensions.DependencyInjection.Tests.csproj index 4a9a25f..c733b7e 100644 --- a/TryAtSoftware.Extensions.DependencyInjection.Tests/TryAtSoftware.Extensions.DependencyInjection.Tests.csproj +++ b/TryAtSoftware.Extensions.DependencyInjection.Tests/TryAtSoftware.Extensions.DependencyInjection.Tests.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net7.0;net8.0;net9.0 enable enable @@ -10,23 +10,19 @@ - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/TryAtSoftware.Extensions.DependencyInjection/TryAtSoftware.Extensions.DependencyInjection.csproj b/TryAtSoftware.Extensions.DependencyInjection/TryAtSoftware.Extensions.DependencyInjection.csproj index 3cf48e0..474132d 100644 --- a/TryAtSoftware.Extensions.DependencyInjection/TryAtSoftware.Extensions.DependencyInjection.csproj +++ b/TryAtSoftware.Extensions.DependencyInjection/TryAtSoftware.Extensions.DependencyInjection.csproj @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/TryAtSoftware.Extensions.Reflection.Benchmark/TryAtSoftware.Extensions.Reflection.Benchmark.csproj b/TryAtSoftware.Extensions.Reflection.Benchmark/TryAtSoftware.Extensions.Reflection.Benchmark.csproj index 588e98a..ec7c972 100644 --- a/TryAtSoftware.Extensions.Reflection.Benchmark/TryAtSoftware.Extensions.Reflection.Benchmark.csproj +++ b/TryAtSoftware.Extensions.Reflection.Benchmark/TryAtSoftware.Extensions.Reflection.Benchmark.csproj @@ -1,14 +1,14 @@ - net7.0 + net9.0 Exe enable enable - + diff --git a/TryAtSoftware.Extensions.Reflection.Tests/TryAtSoftware.Extensions.Reflection.Tests.csproj b/TryAtSoftware.Extensions.Reflection.Tests/TryAtSoftware.Extensions.Reflection.Tests.csproj index e428868..b3d1c40 100644 --- a/TryAtSoftware.Extensions.Reflection.Tests/TryAtSoftware.Extensions.Reflection.Tests.csproj +++ b/TryAtSoftware.Extensions.Reflection.Tests/TryAtSoftware.Extensions.Reflection.Tests.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net7.0;net8.0;net9.0 enable false @@ -9,14 +9,13 @@ - - - - - - - - + + + + + + + diff --git a/TryAtSoftware.Extensions.Reflection/TryAtSoftware.Extensions.Reflection.csproj b/TryAtSoftware.Extensions.Reflection/TryAtSoftware.Extensions.Reflection.csproj index 27e8662..71b8dd1 100644 --- a/TryAtSoftware.Extensions.Reflection/TryAtSoftware.Extensions.Reflection.csproj +++ b/TryAtSoftware.Extensions.Reflection/TryAtSoftware.Extensions.Reflection.csproj @@ -18,7 +18,7 @@ - +