From 98a4a983f86400d61a904d873b8750bb9189f6b0 Mon Sep 17 00:00:00 2001 From: X39 Date: Thu, 1 Feb 2024 23:30:50 +0100 Subject: [PATCH] update dotnet version to latest --- .github/workflows/main.yml | 4 ++-- .github/workflows/run-dotnet-tests.yml | 4 ++-- .../X39.Solutions.PdfTemplate.csproj | 6 +++--- .../X39.Solutions.PdfTemplate.Test.csproj | 17 +++++++---------- 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32376cf..fad4da1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Setup NuGet.exe for use with actions uses: NuGet/setup-nuget@v1.0.5 with: @@ -22,7 +22,7 @@ jobs: - name: Build run: dotnet build --no-restore - name: Test - run: dotnet test --framework net7.0 --no-build --verbosity normal + run: dotnet test --framework net8.0 --no-build --verbosity normal - name: Pack # CHANGE PACKAGE VERSION - The retarded way # Change the /p:VERSION=X.X.X part to change the actual package version. diff --git a/.github/workflows/run-dotnet-tests.yml b/.github/workflows/run-dotnet-tests.yml index 2dcd69f..af515bf 100644 --- a/.github/workflows/run-dotnet-tests.yml +++ b/.github/workflows/run-dotnet-tests.yml @@ -14,10 +14,10 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build run: dotnet build --no-restore - name: Test - run: dotnet test --framework net7.0 --no-build --verbosity normal + run: dotnet test --framework net8.0 --no-build --verbosity normal diff --git a/source/X39.Solutions.PdfTemplate/X39.Solutions.PdfTemplate.csproj b/source/X39.Solutions.PdfTemplate/X39.Solutions.PdfTemplate.csproj index b427c82..1124bd9 100644 --- a/source/X39.Solutions.PdfTemplate/X39.Solutions.PdfTemplate.csproj +++ b/source/X39.Solutions.PdfTemplate/X39.Solutions.PdfTemplate.csproj @@ -1,6 +1,6 @@ - net7.0 + net8.0 enable enable latest @@ -34,8 +34,8 @@ - - + + diff --git a/test/X39.Solutions.PdfTemplate.Test/X39.Solutions.PdfTemplate.Test.csproj b/test/X39.Solutions.PdfTemplate.Test/X39.Solutions.PdfTemplate.Test.csproj index 2a98120..f6184f9 100644 --- a/test/X39.Solutions.PdfTemplate.Test/X39.Solutions.PdfTemplate.Test.csproj +++ b/test/X39.Solutions.PdfTemplate.Test/X39.Solutions.PdfTemplate.Test.csproj @@ -1,25 +1,22 @@ - - net7.0 + net8.0 enable enable false true - - - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all