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')