diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9166232..ea462a2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x + - name: Setup .NET 7 uses: actions/setup-dotnet@v3 with: diff --git a/build/build.cs b/build/build.cs index 9205b73..33007da 100644 --- a/build/build.cs +++ b/build/build.cs @@ -263,7 +263,7 @@ private static void RunNpm(string args) => private static void RunTests(string projectName, string directoryName = "src") { - Run("dotnet", $"test --no-build {directoryName}/{projectName}/{projectName}.csproj"); + Run("dotnet", $"test --no-build {directoryName}/{projectName}/{projectName}.csproj --framework net8.0"); } private static string GetEnvironmentVariable(string variableName)