From 4ddcf2c1fea22632ecb7b6a08716d96762be388d Mon Sep 17 00:00:00 2001 From: Ross Nelson Date: Sat, 7 Dec 2024 22:25:11 -0600 Subject: [PATCH] Try to force .NET 9 for testing via global.json --- .github/workflows/dotnet.yml | 3 --- test/SlowDown.Tests/global.json | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 test/SlowDown.Tests/global.json diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7b83973..d88f4f9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -28,6 +28,3 @@ jobs: run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal - with: - dotnet-version: | - 9.0.x diff --git a/test/SlowDown.Tests/global.json b/test/SlowDown.Tests/global.json new file mode 100644 index 0000000..59284e0 --- /dev/null +++ b/test/SlowDown.Tests/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "9.*.*", + "rollForward": "latestPatch" + } +} \ No newline at end of file