From e447fe5fae985b310b7bfff042851b4602dbfff8 Mon Sep 17 00:00:00 2001 From: Cory Thompson Date: Tue, 6 Feb 2024 18:55:31 +1100 Subject: [PATCH] #104 Upgrade to .NET 6 --- .github/workflows/CI.yml | 10 +++++++--- WebPush.Test/WebPush.Test.csproj | 2 +- WebPush/WebPush.csproj | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 87f4091..423f76e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,9 +15,11 @@ jobs: - uses: actions/checkout@v2 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1.7.2 + uses: actions/setup-dotnet@v4.0.0 with: - dotnet-version: 5.0.x + dotnet-version: | + 5.0.x + 6.0.x - name: Restore run: dotnet restore @@ -26,4 +28,6 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test - run: dotnet test --no-restore --framework net5.0 + run: | + dotnet test --no-restore --framework net5.0 + dotnet test --no-restore --framework net6.0 \ No newline at end of file diff --git a/WebPush.Test/WebPush.Test.csproj b/WebPush.Test/WebPush.Test.csproj index ca25105..63f547e 100755 --- a/WebPush.Test/WebPush.Test.csproj +++ b/WebPush.Test/WebPush.Test.csproj @@ -1,7 +1,7 @@  - net45;net46;net471;net48;net5.0;netcoreapp2.0;netcoreapp3.1 + net45;net46;net471;net48;netcoreapp2.0;netcoreapp3.1;net5.0;net6.0 false diff --git a/WebPush/WebPush.csproj b/WebPush/WebPush.csproj index 068e02a..1c9fd35 100755 --- a/WebPush/WebPush.csproj +++ b/WebPush/WebPush.csproj @@ -1,7 +1,7 @@  - net45;net46;net471;net48;net5.0;netstandard1.3;netstandard2.0;netstandard2.1 + net45;net46;net471;net48;netstandard1.3;netstandard2.0;netstandard2.1;net5.0;net6.0 true 1.0.12 Cory Thompson