From 1db488e8b256e21e36ec39eac0e1622af94a7e8f Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Fri, 27 Oct 2023 15:36:22 +0330 Subject: [PATCH] Tests: upgrade to .NET 6 This commit upgrades test project and our CI to use .NET 6. There's no excuse to use .netcoreapp 3.1 anymore. It's noteworthy to say that we will keep NOnion target platform on netstandard2.0 for the time being. --- .github/workflows/CI.yml | 12 ++++++------ NOnion.Tests/NOnion.Tests.csproj | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 61e40c54..0eb2d907 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive - - name: Setup .NET Core SDK 3.1.x + - name: Setup .NET SDK 6.0.x uses: actions/setup-dotnet@v1.7.2 with: - dotnet-version: '3.1.x' + dotnet-version: '6.0.x' - name: Install dependencies run: dotnet restore - name: Build @@ -31,10 +31,10 @@ jobs: submodules: recursive # needed because of commit-lint, see https://github.com/conventional-changelog/commitlint/issues/3376 fetch-depth: 0 - - name: Setup .NET SDK 5.0.x + - name: Setup .NET SDK 6.0.x uses: actions/setup-dotnet@v1.7.2 with: - dotnet-version: '5.0.x' + dotnet-version: '6.0.x' - name: Install dependencies run: dotnet restore - name: Build @@ -84,10 +84,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive - - name: Setup .NET Core SDK 3.1.x + - name: Setup .NET SDK 6.0.x uses: actions/setup-dotnet@v1.7.2 with: - dotnet-version: '3.1.x' + dotnet-version: '6.0.x' - name: Install dependencies run: dotnet restore - name: Build diff --git a/NOnion.Tests/NOnion.Tests.csproj b/NOnion.Tests/NOnion.Tests.csproj index 3be8df35..2e65753e 100644 --- a/NOnion.Tests/NOnion.Tests.csproj +++ b/NOnion.Tests/NOnion.Tests.csproj @@ -1,15 +1,15 @@  - netcoreapp3.1 + net6.0 false - - - + + +