diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6a5b65b7..6add7c68 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,44 +9,9 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "monthly" - open-pull-requests-limit: 3 - - package-ecosystem: "nuget" - directory: "/src/NSubstitute" - schedule: - interval: "monthly" - open-pull-requests-limit: 3 - groups: - nsubstitute_minor_patch_updates: - update-types: - - "minor" - - "patch" - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-major"] - - package-ecosystem: "nuget" - directory: "/tests/NSubstitute.Acceptance.Specs" - schedule: - interval: "monthly" - open-pull-requests-limit: 3 - groups: - nsubstitute_acceptance_specs_minor_patch_updates: - update-types: - - "minor" - - "patch" - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-major"] + interval: "weekly" + - package-ecosystem: "nuget" - directory: "/tests/NSubstitute.Benchmarks" + directory: "/" schedule: - interval: "monthly" - open-pull-requests-limit: 3 - groups: - nsubstitute_benchmarks_minor_patch_updates: - update-types: - - "minor" - - "patch" - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-major"] + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/release_documentation.yml b/.github/workflows/release_documentation.yml index dd16333d..fa4a013a 100644 --- a/.github/workflows/release_documentation.yml +++ b/.github/workflows/release_documentation.yml @@ -13,6 +13,7 @@ jobs: uses: actions/setup-dotnet@v5 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml index 9a3f942e..fae32b25 100644 --- a/.github/workflows/release_packages.yml +++ b/.github/workflows/release_packages.yml @@ -12,7 +12,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Build package run: dotnet pack src/NSubstitute/NSubstitute.csproj -o bin -p:CI=true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed99b579..b9051155 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,7 @@ jobs: uses: actions/setup-dotnet@v5 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x @@ -28,13 +29,16 @@ jobs: - name: .NET Framework Tests if: matrix.os == 'windows-latest' - run: dotnet test -f net462 --no-build --no-restore + run: dotnet test -f net462 --no-build --no-restore --no-progress - name: .NET 8 Tests - run: dotnet test -f net8.0 --no-build --no-restore + run: dotnet test -f net8.0 --no-build --no-restore --no-progress - name: .NET 9 Tests - run: dotnet test -f net9.0 --no-build --no-restore + run: dotnet test -f net9.0 --no-build --no-restore --no-progress + + - name: .NET 10 Tests + run: dotnet test -f net10.0 --no-build --no-restore --no-progress format-verify: runs-on: ubuntu-latest @@ -45,7 +49,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Format run: dotnet format --verify-no-changes \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 563ed626..2ae56ca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * [NEW] Added NuGet Package README file. * [UPDATE] Make public api and tests the same for all TFMs * [UPDATE] Migrate documentation samples to NUnit4 +* [NEW] Added .NET 10 to test matrix ### 5.3.0 (October 2024) diff --git a/global.json b/global.json new file mode 100644 index 00000000..802ab217 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +} \ No newline at end of file diff --git a/tests/NSubstitute.Acceptance.Specs/NSubstitute.Acceptance.Specs.csproj b/tests/NSubstitute.Acceptance.Specs/NSubstitute.Acceptance.Specs.csproj index 0202cb78..1a869b21 100644 --- a/tests/NSubstitute.Acceptance.Specs/NSubstitute.Acceptance.Specs.csproj +++ b/tests/NSubstitute.Acceptance.Specs/NSubstitute.Acceptance.Specs.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0;net462 + net10.0;net9.0;net8.0;net462 Exe true true @@ -10,7 +10,7 @@ - + diff --git a/tests/NSubstitute.Benchmarks/NSubstitute.Benchmarks.csproj b/tests/NSubstitute.Benchmarks/NSubstitute.Benchmarks.csproj index dc6166df..de19b483 100644 --- a/tests/NSubstitute.Benchmarks/NSubstitute.Benchmarks.csproj +++ b/tests/NSubstitute.Benchmarks/NSubstitute.Benchmarks.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 Exe diff --git a/tests/NSubstitute.Documentation.Tests/NSubstitute.Documentation.Tests.csproj b/tests/NSubstitute.Documentation.Tests/NSubstitute.Documentation.Tests.csproj index 2738c6a6..c7e75a03 100644 --- a/tests/NSubstitute.Documentation.Tests/NSubstitute.Documentation.Tests.csproj +++ b/tests/NSubstitute.Documentation.Tests/NSubstitute.Documentation.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0;net462 + net10.0;net9.0;net8.0;net462 Exe true true @@ -9,7 +9,7 @@ - +