Skip to content

Commit 7d55fa5

Browse files
ardalisclaude
andauthored
Update NuGet dependencies and GitHub Actions to latest (#410)
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 <noreply@anthropic.com>
1 parent 41162c4 commit 7d55fa5

6 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@v7
1717
- name: Setup .NET Core
18-
uses: actions/setup-dotnet@v5
18+
uses: actions/setup-dotnet@v6
1919
with:
2020
dotnet-version: '8.x'
2121
- name: Install dependencies

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Checkout repository
1616
id: checkout_repo
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@v7
1818

1919
- name: Initialize CodeQL
2020
id: init_codeql

.github/workflows/comment-on-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Get the PR Number artifact
20-
uses: dawidd6/action-download-artifact@v9
20+
uses: dawidd6/action-download-artifact@v21
2121
with:
2222
workflow: ${{ github.event.workflow_run.workflow_id }}
2323
workflow_conclusion: ""
@@ -27,13 +27,13 @@ jobs:
2727
- name: Confirm the PR Number (Debugging)
2828
run: echo $PR_NUMBER
2929
- name: Get the code coverage results file
30-
uses: dawidd6/action-download-artifact@v9
30+
uses: dawidd6/action-download-artifact@v21
3131
with:
3232
workflow: ${{ github.event.workflow_run.workflow_id }}
3333
workflow_conclusion: ""
3434
name: code-coverage-results
3535
- name: Add Coverage PR Comment
36-
uses: marocchino/sticky-pull-request-comment@v2
36+
uses: marocchino/sticky-pull-request-comment@v3.0.5
3737
with:
3838
number: ${{ env.PR_NUMBER }}
3939
recreate: true

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
name: list Ardalis.GuardClauses on nuget.org
1111
runs-on: windows-latest
1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@v7
1414

1515
# Required for a specific dotnet version that doesn't come with ubuntu-latest / windows-latest
1616
# Visit bit.ly/2synnZl to see the list of SDKs that are pre-installed with ubuntu-latest / windows-latest
1717
- name: Setup dotnet
18-
uses: actions/setup-dotnet@v5
18+
uses: actions/setup-dotnet@v6
1919
with:
2020
dotnet-version: 6.0.x
2121

src/GuardClauses/GuardClauses.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<DocumentationFile>bin\$(Configuration)\Ardalis.GuardClauses.xml</DocumentationFile>
3131
</PropertyGroup>
3232
<ItemGroup>
33-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
33+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.400" PrivateAssets="all" />
3434
</ItemGroup>
3535
<ItemGroup>
3636
<None Include="icon.png" Pack="true" Visible="false" PackagePath="" />

test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="altcover" Version="8.8.21" />
11-
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
10+
<PackageReference Include="altcover" Version="9.0.102" />
11+
<PackageReference Include="coverlet.msbuild" Version="10.0.1">
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1313
<PrivateAssets>all</PrivateAssets>
1414
</PackageReference>
15-
<PackageReference Include="coverlet.collector" Version="6.0.2">
15+
<PackageReference Include="coverlet.collector" Version="10.0.1">
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
<PrivateAssets>all</PrivateAssets>
1818
</PackageReference>
1919

20-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
21-
<PackageReference Include="ReportGenerator" Version="5.2.4" />
22-
<PackageReference Include="xunit" Version="2.7.1" />
23-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
20+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
21+
<PackageReference Include="ReportGenerator" Version="5.5.11" />
22+
<PackageReference Include="xunit" Version="2.9.3" />
23+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>

0 commit comments

Comments
 (0)