From 3a665f279ce078e346362666e043ccbfedfc6503 Mon Sep 17 00:00:00 2001 From: kailash-b Date: Thu, 12 Dec 2024 09:21:30 +0530 Subject: [PATCH] Upgrade build to use .NET 8 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- .github/workflows/rl-secure.yml | 2 +- .github/workflows/snyk.yml | 2 +- .../Auth0.AuthenticationApi.IntegrationTests.csproj | 2 +- tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj | 2 +- .../Auth0.ManagementApi.IntegrationTests.csproj | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd5346335..a3dfd457b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build @@ -54,7 +54,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore build artifacts uses: actions/cache/restore@v3 with: @@ -71,7 +71,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore build artifacts uses: actions/cache/restore@v3 with: @@ -88,7 +88,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore build artifacts uses: actions/cache/restore@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2432166b3..7a81d80e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: needs: [rl-scanner-core, rl-scanner-authentication, rl-scanner-management] uses: ./.github/workflows/nuget-release.yml with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x project-paths: "['src/Auth0.Core/Auth0.Core.csproj', 'src/Auth0.AuthenticationApi/Auth0.AuthenticationApi.csproj', 'src/Auth0.ManagementApi/Auth0.ManagementApi.csproj']" secrets: nuget-token: ${{ secrets.NUGET_APIKEY }} @@ -79,7 +79,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install DocFX run: dotnet tool install -g docfx diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index 0b788e6ed..8257c4ebe 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -41,7 +41,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Create NuGet packages shell: pwsh diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 14eed01e0..039ef7fe6 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -37,7 +37,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v3 with: - dotnet-version: "6.0.x" + dotnet-version: "8.0.x" - name: Dotnet Restore run: dotnet restore diff --git a/tests/Auth0.AuthenticationApi.IntegrationTests/Auth0.AuthenticationApi.IntegrationTests.csproj b/tests/Auth0.AuthenticationApi.IntegrationTests/Auth0.AuthenticationApi.IntegrationTests.csproj index c27102123..5f93b27fc 100644 --- a/tests/Auth0.AuthenticationApi.IntegrationTests/Auth0.AuthenticationApi.IntegrationTests.csproj +++ b/tests/Auth0.AuthenticationApi.IntegrationTests/Auth0.AuthenticationApi.IntegrationTests.csproj @@ -1,6 +1,6 @@  - net6.0 + net8.0 true ..\..\build\Auth0NetStrongName.snk diff --git a/tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj b/tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj index 8e77dfb22..7d76aeafb 100644 --- a/tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj +++ b/tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 true ..\..\build\Auth0NetStrongName.snk diff --git a/tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj b/tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj index a3ab8b7eb..9dc05aa83 100644 --- a/tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj +++ b/tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 true ..\..\build\Auth0NetStrongName.snk