From d54b35889d855ea4f76edc49612ab5abb537a384 Mon Sep 17 00:00:00 2001 From: Philippe Matray Date: Sat, 28 Feb 2026 14:36:05 +0100 Subject: [PATCH] ci: standardize workflows and fix stale SDK versions - Update SDK from 9.x to 10.0.x in publish-to-nuget.yml - Remove stale --framework net7.0 from test step - Add DOTNET_NOLOGO and DOTNET_SKIP_FIRST_TIME_EXPERIENCE to dotnet.yml - Add concurrency group to dotnet.yml --- .github/workflows/dotnet.yml | 8 ++++++++ .github/workflows/publish-to-nuget.yml | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index aa91e9f..f76ffdc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -9,6 +9,14 @@ on: pull_request: branches: [ "main" ] +env: + DOTNET_NOLOGO: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + jobs: build-and-test: diff --git a/.github/workflows/publish-to-nuget.yml b/.github/workflows/publish-to-nuget.yml index bf89821..bf20508 100644 --- a/.github/workflows/publish-to-nuget.yml +++ b/.github/workflows/publish-to-nuget.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.x + dotnet-version: 10.0.x - name: Cache NuGet packages uses: actions/cache@v5 @@ -48,10 +48,10 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.x + dotnet-version: 10.0.x - name: Run Test - run: dotnet test --configuration $BUILD_CONFIG --no-build --verbosity normal --framework net7.0 + run: dotnet test --configuration $BUILD_CONFIG --verbosity normal publish: needs: test @@ -71,7 +71,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.x + dotnet-version: 10.0.x - name: Publish to NuGet if: startsWith(github.ref, 'refs/tags')