Skip to content

Commit d75bb3b

Browse files
authored
chore: update package dependencies (#2945)
1 parent 2df50ad commit d75bb3b

File tree

18 files changed

+60
-63
lines changed

18 files changed

+60
-63
lines changed

.github/workflows/generate-changelog.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
steps:
1616

1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
ref: master
2121

2222
- name: Checkout changelog
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
with:
2525
ref: docs-changelog
2626
path: docs/_changelog
@@ -31,7 +31,7 @@ jobs:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Push changelog
34-
uses: JamesIves/github-pages-deploy-action@v4
34+
uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6
3535
with:
3636
branch: docs-changelog
3737
folder: docs/_changelog

.github/workflows/generate-gh-pages.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
steps:
1616

1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
ref: docs-stable
2121

2222
- name: Checkout changelog
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
with:
2525
ref: docs-changelog
2626
path: docs/_changelog
@@ -37,7 +37,7 @@ jobs:
3737
run: ./build.cmd docs-build
3838

3939
- name: Upload Artifacts
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v6
4141
with:
4242
name: site
4343
path: docs/_site
@@ -49,12 +49,12 @@ jobs:
4949
steps:
5050

5151
- name: Checkout
52-
uses: actions/checkout@v5
52+
uses: actions/checkout@v6
5353
with:
5454
ref: docs-stable
5555

5656
- name: Download Artifacts
57-
uses: actions/download-artifact@v4
57+
uses: actions/download-artifact@v7
5858
with:
5959
name: site
6060
path: site
@@ -63,7 +63,7 @@ jobs:
6363
run: tree $GITHUB_WORKSPACE
6464

6565
- name: Deploy documentation
66-
uses: JamesIves/github-pages-deploy-action@v4
66+
uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6
6767
with:
6868
branch: gh-pages
6969
folder: site

.github/workflows/publish-nightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: ${{ github.repository == 'dotnet/BenchmarkDotNet' }}
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
- name: Set date
1717
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
1818
- name: Pack
1919
run: ./build.cmd pack /p:VersionSuffix=nightly.$DATE.$GITHUB_RUN_NUMBER
2020
- name: Upload nupkg to artifacts
21-
uses: actions/upload-artifact@v4
21+
uses: actions/upload-artifact@v6
2222
with:
2323
name: nupkgs
2424
path: "**/*.*nupkg"

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
# --- Init ---
2121

2222
- name: Checkout sources
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424

2525
- name: Checkout changelog
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2727
with:
2828
ref: docs-changelog
2929
path: docs/_changelog
@@ -68,7 +68,7 @@ jobs:
6868
run: ./build.cmd version-increment
6969

7070
- name: Commit changes
71-
uses: EndBug/add-and-commit@v9
71+
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
7272
with:
7373
message: "Set next BenchmarkDotNet version: ${{ steps.version.outputs.VERSION }} and update released analyzer rules"
7474
author_name: GitHub Actions
@@ -83,14 +83,14 @@ jobs:
8383
# --- Release ---
8484

8585
- name: Push git changes
86-
uses: ad-m/github-push-action@v1
86+
uses: ad-m/github-push-action@77c5b412c50b723d2a4fbc6d71fb5723bcd439aa # v1.0.0
8787
with:
8888
github_token: ${{ secrets.GITHUB_TOKEN }}
8989
branch: master
9090
tags: true
9191

9292
- name: Release
93-
uses: softprops/action-gh-release@v2
93+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
9494
with:
9595
name: BenchmarkDotNet v${{ steps.version.outputs.VERSION }}
9696
tag_name: v${{ steps.version.outputs.VERSION }}
@@ -106,7 +106,7 @@ jobs:
106106
milestone_name: v${{ steps.version.outputs.VERSION }}
107107

108108
- name: Create new milestone
109-
uses: WyriHaximus/github-action-create-milestone@v1
109+
uses: WyriHaximus/github-action-create-milestone@bcd9e15439836d6098d353a5bcf82de46591a35d # v1.1.2
110110
env:
111111
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
112112
with:
@@ -140,7 +140,7 @@ jobs:
140140
run: ./build.cmd docs-build
141141

142142
- name: Deploy documentation
143-
uses: JamesIves/github-pages-deploy-action@v4
143+
uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6
144144
with:
145145
branch: gh-pages
146146
folder: docs/_site

.github/workflows/run-tests-selected.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- macos-latest
1616
- windows-11-arm
1717
- ubuntu-24.04-arm
18-
- macos-13
18+
- macos-15-intel
1919
project:
2020
type: string
2121
description: Specify test project path
@@ -80,7 +80,7 @@ jobs:
8080
8181
# Upload artifact files that are located at `$(GITHUB_WORKSPACE)/artifacts` directory
8282
- name: Upload test results
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v6
8484
if: always()
8585
with:
8686
name: results

.github/workflows/run-tests.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Disable Windows Defender
2222
run: Set-MpPreference -DisableRealtimeMonitoring $true
2323
shell: powershell
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
# Build and Test
2626
- name: Run task 'build'
2727
shell: cmd
@@ -31,15 +31,15 @@ jobs:
3131
run: ./build.cmd in-tests-core -e
3232
# Report test results with unique name
3333
- name: Report tests results
34-
uses: dorny/test-reporter@v2
34+
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0
3535
if: always()
3636
with:
3737
name: test-windows-core-${{ matrix.os }}
3838
path: "**/*.trx"
3939
reporter: dotnet-trx
4040
# Upload Artifacts with Unique Name
4141
- name: Upload test results
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@v6
4343
if: always()
4444
with:
4545
name: test-windows-core-trx-${{ github.run_id }}-${{ matrix.os }}
@@ -54,7 +54,7 @@ jobs:
5454
- name: Disable Windows Defender
5555
run: Set-MpPreference -DisableRealtimeMonitoring $true
5656
shell: powershell
57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@v6
5858
# Build and Test
5959
- name: Run task 'build'
6060
shell: cmd
@@ -70,15 +70,15 @@ jobs:
7070
run: ./build.cmd in-tests-full -e
7171
# Report test results with unique name
7272
- name: Report tests results
73-
uses: dorny/test-reporter@v2
73+
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0
7474
if: always()
7575
with:
7676
name: test-windows-full-${{ matrix.os }}
7777
path: "**/*.trx"
7878
reporter: dotnet-trx
7979
# Upload Artifacts with Unique Name
8080
- name: Upload test results
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v6
8282
if: always()
8383
with:
8484
name: test-windows-full-trx-${{ github.run_id }}-${{ matrix.os }}
@@ -90,7 +90,7 @@ jobs:
9090
os: [ubuntu-latest, ubuntu-24.04-arm]
9191
runs-on: ${{ matrix.os }}
9292
steps:
93-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v6
9494
# Set up the environment
9595
- name: Set up Clang
9696
uses: egor-tensin/setup-clang@ef434b41eb33a70396fb336b1bae39c76d740c3d # v1.4
@@ -100,9 +100,9 @@ jobs:
100100
- name: Set up zlib-static
101101
run: sudo apt-get install -y libkrb5-dev
102102
- name: Set up node
103-
uses: actions/setup-node@v4
103+
uses: actions/setup-node@v6
104104
with:
105-
node-version: "22"
105+
node-version: "24"
106106
- name: Set up v8
107107
run: npm install jsvu -g && jsvu --os=linux64 --engines=v8 && echo "$HOME/.jsvu/bin" >> $GITHUB_PATH
108108
- name: Install wasm-tools workload
@@ -118,15 +118,15 @@ jobs:
118118
run: ./build.cmd in-tests-core -e
119119
# Report test results with unique name
120120
- name: Report tests results
121-
uses: dorny/test-reporter@v2
121+
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0
122122
if: always()
123123
with:
124124
name: test-linux-${{ matrix.os }}
125125
path: "**/*.trx"
126126
reporter: dotnet-trx
127127
# Upload Artifacts with Unique Name
128128
- name: Upload test results
129-
uses: actions/upload-artifact@v4
129+
uses: actions/upload-artifact@v6
130130
if: always()
131131
with:
132132
name: test-linux-trx-${{ github.run_id }}-${{ matrix.os }}
@@ -145,11 +145,11 @@ jobs:
145145
jsvu-os: 'mac64'
146146
arch: 'x64'
147147
steps:
148-
- uses: actions/checkout@v4
148+
- uses: actions/checkout@v6
149149
- name: Set up node
150-
uses: actions/setup-node@v4
150+
uses: actions/setup-node@v6
151151
with:
152-
node-version: "22"
152+
node-version: "24"
153153
- name: Set up v8
154154
run: npm install jsvu -g && jsvu --os=${{ matrix.os.jsvu-os }} --engines=v8 && echo "$HOME/.jsvu/bin" >> $GITHUB_PATH
155155
- name: Install wasm-tools workload
@@ -165,15 +165,15 @@ jobs:
165165
run: ./build.cmd in-tests-core -e
166166
# Report test results with unique name
167167
- name: Report tests results
168-
uses: dorny/test-reporter@v2
168+
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0
169169
if: always()
170170
with:
171171
name: test-macos(${{ matrix.os.arch }})
172172
path: "**/*.trx"
173173
reporter: dotnet-trx
174174
# Upload Artifacts with Unique Name
175175
- name: Upload test results
176-
uses: actions/upload-artifact@v4
176+
uses: actions/upload-artifact@v6
177177
if: always()
178178
with:
179179
name: test-macos(${{ matrix.os.arch }})-trx-${{ github.run_id }}
@@ -182,7 +182,7 @@ jobs:
182182
test-pack:
183183
runs-on: ubuntu-latest
184184
steps:
185-
- uses: actions/checkout@v4
185+
- uses: actions/checkout@v6
186186
- name: Set up Clang
187187
uses: egor-tensin/setup-clang@v1
188188
with:
@@ -196,11 +196,11 @@ jobs:
196196
spellcheck-docs:
197197
runs-on: ubuntu-latest
198198
steps:
199-
- uses: actions/checkout@v4
200-
- uses: actions/setup-node@v4
199+
- uses: actions/checkout@v6
200+
- uses: actions/setup-node@v6
201201
name: Setup node
202202
with:
203-
node-version: "22"
203+
node-version: "24"
204204
- name: Install cSpell
205205
run: npm install -g [email protected]
206206
- name: Copy cSpell config

samples/BenchmarkDotNet.Samples.FSharp/BenchmarkDotNet.Samples.FSharp.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Update="FSharp.Core" Version="9.0.300" />
23+
<PackageReference Update="FSharp.Core" Version="10.0.101" />
2424
<PackageReference Update="System.ValueTuple" Version="4.6.1" />
25-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
25+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2626
</ItemGroup>
2727

2828
<Import Project="..\..\build\common.targets" />

samples/BenchmarkDotNet.Samples/BenchmarkDotNet.Samples.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
<PackageReference Include="System.IO.Hashing" Version="$(SihVersion)" />
2727
</ItemGroup>
2828
<ItemGroup>
29-
<PackageReference Include="System.Drawing.Common" Version="9.0.5" />
29+
<PackageReference Include="System.Drawing.Common" Version="10.0.1" />
3030
<!-- The Test SDK is required only for the VSTest Adapter to work -->
31-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
31+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
3232
<!-- This package enables the Visual Studio Profiler integration IntroVisualStudioProfiler.cs -->
33-
<PackageReference Include="Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers" Version="18.0.36302.1" />
33+
<PackageReference Include="Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers" Version="18.3.36812.1" />
3434
</ItemGroup>
3535
<ItemGroup>
3636
<ProjectReference Include="..\..\src\BenchmarkDotNet.Diagnostics.dotTrace\BenchmarkDotNet.Diagnostics.dotTrace.csproj" />

src/BenchmarkDotNet.Analyzers/BenchmarkDotNet.Analyzers.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<ItemGroup>
2323
<!-- We multi-target for different compiler versions. https://github.com/dotnet/roslyn/discussions/81256#discussioncomment-14975130, https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning -->
2424
<!-- C# 7.3 (min version we support) -->
25-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.0" Condition="'$(MccVersion)' == '2.8'" />
25+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[2.8.0]" Condition="'$(MccVersion)' == '2.8'" />
2626
<!-- C# 9 -->
27-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" Condition="'$(MccVersion)' == '3.8'" />
27+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[3.8.0]" Condition="'$(MccVersion)' == '3.8'" />
2828
<!-- C# 12 -->
29-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" Condition="'$(MccVersion)' == '4.8'" />
29+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[4.8.0,)" Condition="'$(MccVersion)' == '4.8'" />
3030
</ItemGroup>
3131
<ItemGroup>
3232
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />

src/BenchmarkDotNet.Diagnostics.Windows/BenchmarkDotNet.Diagnostics.Windows.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ProjectReference Include="..\BenchmarkDotNet\BenchmarkDotNet.csproj" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.1.21" PrivateAssets="contentfiles;analyzers" />
15+
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.1.28" PrivateAssets="contentfiles;analyzers" />
1616
</ItemGroup>
1717
<Import Project="..\..\build\common.targets" />
1818
</Project>

0 commit comments

Comments
 (0)