From 3b708b4ea08c6a2e7e986c3dd2c2920917fe29d8 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Fri, 14 Aug 2026 14:17:14 -0400 Subject: [PATCH] Update NuGet dependencies and GitHub Actions to latest NuGet: - Microsoft.SourceLink.GitHub 8.0.0 -> 10.0.400 - altcover 8.8.21 -> 9.0.102 - coverlet.msbuild / coverlet.collector 6.0.2 -> 10.0.1 - Microsoft.NET.Test.Sdk 18.6.0 -> 18.9.0 - ReportGenerator 5.2.4 -> 5.5.11 - xunit 2.7.1 -> 2.9.3 - xunit.runner.visualstudio 2.5.8 -> 3.1.5 GitHub Actions: - actions/checkout v6 -> v7 - actions/setup-dotnet v5 -> v6 - dawidd6/action-download-artifact v9 -> v21 - marocchino/sticky-pull-request-comment v2 -> v3.0.5 Co-Authored-By: Claude Fable 5 --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/comment-on-pr.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- src/GuardClauses/GuardClauses.csproj | 2 +- .../GuardClauses.UnitTests.csproj | 14 +++++++------- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c758deb..324f1a8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Setup .NET Core - uses: actions/setup-dotnet@v5 + uses: actions/setup-dotnet@v6 with: dotnet-version: '8.x' - name: Install dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ad5433e5..9c144c9e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository id: checkout_repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Initialize CodeQL id: init_codeql diff --git a/.github/workflows/comment-on-pr.yml b/.github/workflows/comment-on-pr.yml index f4145036..03c539f8 100644 --- a/.github/workflows/comment-on-pr.yml +++ b/.github/workflows/comment-on-pr.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Get the PR Number artifact - uses: dawidd6/action-download-artifact@v9 + uses: dawidd6/action-download-artifact@v21 with: workflow: ${{ github.event.workflow_run.workflow_id }} workflow_conclusion: "" @@ -27,13 +27,13 @@ jobs: - name: Confirm the PR Number (Debugging) run: echo $PR_NUMBER - name: Get the code coverage results file - uses: dawidd6/action-download-artifact@v9 + uses: dawidd6/action-download-artifact@v21 with: workflow: ${{ github.event.workflow_run.workflow_id }} workflow_conclusion: "" name: code-coverage-results - name: Add Coverage PR Comment - uses: marocchino/sticky-pull-request-comment@v2 + uses: marocchino/sticky-pull-request-comment@v3.0.5 with: number: ${{ env.PR_NUMBER }} recreate: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c8ef5887..4b6b760f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,12 +10,12 @@ jobs: name: list Ardalis.GuardClauses on nuget.org runs-on: windows-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 # Required for a specific dotnet version that doesn't come with ubuntu-latest / windows-latest # Visit bit.ly/2synnZl to see the list of SDKs that are pre-installed with ubuntu-latest / windows-latest - name: Setup dotnet - uses: actions/setup-dotnet@v5 + uses: actions/setup-dotnet@v6 with: dotnet-version: 6.0.x diff --git a/src/GuardClauses/GuardClauses.csproj b/src/GuardClauses/GuardClauses.csproj index 829562f5..4d5ab3f5 100644 --- a/src/GuardClauses/GuardClauses.csproj +++ b/src/GuardClauses/GuardClauses.csproj @@ -30,7 +30,7 @@ bin\$(Configuration)\Ardalis.GuardClauses.xml - + diff --git a/test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj b/test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj index 33ab95ac..3bdf41c3 100644 --- a/test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj +++ b/test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj @@ -7,20 +7,20 @@ - - + + runtime; build; native; contentfiles; analyzers all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive