From 85fbeb083904bde61793a544509f1f8008cdd9c6 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Tue, 19 Nov 2024 09:47:40 +0200 Subject: [PATCH] Drop net7, which is EoL and target net9 .NET 7 reached the end of life on May 14, 2024. This PR removes support for it and adds support for .NET 9 was added. --- .github/workflows/build.yml | 8 ++++---- Directory.Build.props | 2 +- samples/Directory.Build.props | 2 +- tests/Directory.Build.props | 2 +- .../Tingle.PeriodicTasks.AspNetCore.Tests.csproj | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b47ae4..74441b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Install dependencies run: dotnet restore @@ -99,7 +99,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.x' + dotnet-version: '9.x' source-url: "https://pkgs.dev.azure.com/tingle/_packaging/tingle/nuget/v3/index.json" env: NUGET_AUTH_TOKEN: ${{ secrets.PRIVATE_FEED_API_KEY }} @@ -125,7 +125,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.x' + dotnet-version: '9.x' source-url: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json env: NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -151,7 +151,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x source-url: https://api.nuget.org/v3/index.json env: NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }} diff --git a/Directory.Build.props b/Directory.Build.props index 0bbf318..5482eb1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - net7.0;net8.0 + net8.0;net9.0 latest enable enable diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props index 0016641..e97168b 100644 --- a/samples/Directory.Build.props +++ b/samples/Directory.Build.props @@ -3,7 +3,7 @@ - net8.0 + net9.0 Exe false diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index e2c881c..67cf29a 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -3,7 +3,7 @@ - net8.0 + net9.0 true false diff --git a/tests/Tingle.PeriodicTasks.AspNetCore.Tests/Tingle.PeriodicTasks.AspNetCore.Tests.csproj b/tests/Tingle.PeriodicTasks.AspNetCore.Tests/Tingle.PeriodicTasks.AspNetCore.Tests.csproj index 09473f6..1a8ecb4 100644 --- a/tests/Tingle.PeriodicTasks.AspNetCore.Tests/Tingle.PeriodicTasks.AspNetCore.Tests.csproj +++ b/tests/Tingle.PeriodicTasks.AspNetCore.Tests/Tingle.PeriodicTasks.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@ - +