From fa3af08bc0333a8960d2a6088567cefbbc71ca20 Mon Sep 17 00:00:00 2001 From: Nikolaj Brask-Nielsen Date: Wed, 30 Nov 2022 10:13:02 +0100 Subject: [PATCH] test: Add .NET 7 target to tests --- .github/workflows/build.yml | 14 ++++++-------- src/Examine.Test/Examine.Test.csproj | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e17d1166..bfea60730 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,15 +35,13 @@ jobs: echo ("Copyright=" + $Copyright) >> $Env:GITHUB_ENV shell: pwsh - - name: Setup .NET Core SDK 5.0.x - uses: actions/setup-dotnet@v1.7.2 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: 5.0.x - - - name: Setup .NET SDK 6.0.x - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.9 diff --git a/src/Examine.Test/Examine.Test.csproj b/src/Examine.Test/Examine.Test.csproj index dfb880a48..39b6d109c 100644 --- a/src/Examine.Test/Examine.Test.csproj +++ b/src/Examine.Test/Examine.Test.csproj @@ -11,7 +11,7 @@ - net6.0; + net7.0;net6.0; false false