Skip to content

Commit 68dc72d

Browse files
dependabot[bot]Pete Sramek
andauthored
Bump actions/setup-dotnet from 4 to 5 (#68)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-dotnet/releases">actions/setup-dotnet's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h2>What's Changed</h2> <h3>Breaking Changes</h3> <ul> <li>Upgrade to Node.js 24 and modernize async usage by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/654">actions/setup-dotnet#654</a></li> </ul> <p>Make sure your runner is updated to this version or newer to use this release. v2.327.1 <a href="https://github.com/actions/runner/releases/tag/v2.327.1">Release Notes</a></p> <h3>Dependency Updates</h3> <ul> <li>Upgrade <code>@​action/cache</code> from 4.0.2 to 4.0.3 by <a href="https://github.com/aparnajyothi-y"><code>@​aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/622">actions/setup-dotnet#622</a></li> <li>Upgrade husky from 8.0.3 to 9.1.7 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/591">actions/setup-dotnet#591</a></li> <li>Upgrade <code>@​actions/glob</code> from 0.4.0 to 0.5.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/594">actions/setup-dotnet#594</a></li> <li>Upgrade eslint-config-prettier from 9.1.0 to 10.1.5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/639">actions/setup-dotnet#639</a></li> <li>Upgrade undici from 5.28.5 to 5.29.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/641">actions/setup-dotnet#641</a></li> <li>Upgrade form-data to bring in fix for critical vulnerability by <a href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/652">actions/setup-dotnet#652</a></li> <li>Upgrade actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/662">actions/setup-dotnet#662</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Remove Support for older .NET Versions and Update installers scripts by <a href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/647">actions/setup-dotnet#647</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/647">actions/setup-dotnet#647</a></li> <li><a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/654">actions/setup-dotnet#654</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-dotnet/compare/v4...v5.0.0">https://github.com/actions/setup-dotnet/compare/v4...v5.0.0</a></p> <h2>v4.3.1</h2> <h2>What's Changed</h2> <ul> <li><code>v4</code> - Remove <code>azureedge.net</code> fallback logic and update install scripts by <a href="https://github.com/zaataylor"><code>@​zaataylor</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/572">actions/setup-dotnet#572</a> As outlined in<a href="https://devblogs.microsoft.com/dotnet/critical-dotnet-install-links-are-changing/#call-to-action"> Critical .NET Install Links Are Changing</a>, remove the storage account fallback logic added for v4 in <a href="https://redirect.github.com/actions/setup-dotnet/pull/566">actions/setup-dotnet#566</a> and update the install scripts accordingly. <strong>Related issue</strong>: <a href="https://redirect.github.com/dotnet/install-scripts/issues/559">dotnet/install-scripts#559</a></li> <li>upgrade <code>@​actions/cache</code> to 4.0.2 by <a href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/615">actions/setup-dotnet#615</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-dotnet/compare/v4...v4.3.1">https://github.com/actions/setup-dotnet/compare/v4...v4.3.1</a></p> <h2>v4.3.0</h2> <h2>What's Changed</h2> <ul> <li>README update - add permissions section by <a href="https://github.com/benwells"><code>@​benwells</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/587">actions/setup-dotnet#587</a></li> <li>Configure Dependabot settings by <a href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/585">actions/setup-dotnet#585</a></li> <li>Upgrade <strong>cache</strong> from 3.2.4 to 4.0.0 by <a href="https://github.com/aparnajyothi-y"><code>@​aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/586">actions/setup-dotnet#586</a></li> <li>Upgrade <strong>actions/publish-immutable-action</strong> from 0.0.3 to 0.0.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/590">actions/setup-dotnet#590</a></li> <li>Upgrade <strong><code>@​actions/http-client</code></strong> from 2.2.1 to 2.2.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/592">actions/setup-dotnet#592</a></li> <li>Upgrade <strong>undici</strong> from 5.28.4 to 5.28.5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/596">actions/setup-dotnet#596</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/benwells"><code>@​benwells</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/587">actions/setup-dotnet#587</a></li> <li><a href="https://github.com/aparnajyothi-y"><code>@​aparnajyothi-y</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/586">actions/setup-dotnet#586</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-dotnet/commit/d4c94342e560b34958eacfc5d055d21461ed1c5d"><code>d4c9434</code></a> Update to Node.js 24 and modernize async usage (<a href="https://redirect.github.com/actions/setup-dotnet/issues/654">#654</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/5c125af7da1b2700edf7106be3a4f8a60f495f59"><code>5c125af</code></a> Bump actions/checkout from 4 to 5 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/662">#662</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/87c6e1177627274101056947ed58ce11ef42d658"><code>87c6e11</code></a> Bumps form-data (<a href="https://redirect.github.com/actions/setup-dotnet/issues/652">#652</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/06a5327ecf052da066584dc709dc2bc479274b3e"><code>06a5327</code></a> Bump undici from 5.28.5 to 5.29.0 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/641">#641</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/e8e5b8203e7388d709f9575a9f1c6c380e074a22"><code>e8e5b82</code></a> Bump eslint-config-prettier from 9.1.0 to 10.1.5 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/639">#639</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/bf4cd79173c0290c09af17cf9003ca2f32edea40"><code>bf4cd79</code></a> Bump <code>@​actions/glob</code> from 0.4.0 to 0.5.0 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/594">#594</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/4ddad1c881f6a858b0dd0c1cab4bc1872c8f7857"><code>4ddad1c</code></a> Bump husky from 8.0.3 to 9.1.7 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/591">#591</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/0f55b457d2a9ef0a7d0c7a2dd7cac6b1647730a4"><code>0f55b45</code></a> removes end-of-line dotnet versions (<a href="https://redirect.github.com/actions/setup-dotnet/issues/647">#647</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/267870a9c41ec8cf382f67ccbac5eebe47c181f9"><code>267870a</code></a> upgrade actions/cache to 4.0.3 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/622">#622</a>)</li> <li>See full diff in <a href="https://github.com/actions/setup-dotnet/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-dotnet&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pete Sramek <petr.sramek@dropoutcoder.com>
1 parent 02278a2 commit 68dc72d

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: 'Checkout ${{ github.head_ref || github.ref }}'
5656
uses: actions/checkout@v5
5757
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
58-
uses: actions/setup-dotnet@v4
58+
uses: actions/setup-dotnet@v5
5959
with:
6060
dotnet-version: ${{ env.dotnet-sdk-version }}
6161
- name: 'Extract version from branch name'
@@ -140,7 +140,7 @@ jobs:
140140
uses: actions/checkout@v5
141141

142142
- name: 'Setup .NET'
143-
uses: actions/setup-dotnet@v4
143+
uses: actions/setup-dotnet@v5
144144
with:
145145
dotnet-version: ${{ env.dotnet-sdk-version }}
146146

@@ -186,7 +186,7 @@ jobs:
186186
uses: actions/checkout@v5
187187

188188
- name: Setup .NET
189-
uses: actions/setup-dotnet@v4
189+
uses: actions/setup-dotnet@v5
190190
with:
191191
dotnet-version: ${{ env.dotnet-sdk-version }}
192192

@@ -219,7 +219,7 @@ jobs:
219219
uses: actions/checkout@v5
220220

221221
- name: Setup .NET
222-
uses: actions/setup-dotnet@v4
222+
uses: actions/setup-dotnet@v5
223223
with:
224224
dotnet-version: ${{ env.dotnet-sdk-version }}
225225

.github/workflows/promote-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: 'Checkout ${{ github.head_ref || github.ref }}'
4242
uses: actions/checkout@v5
4343
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
44-
uses: actions/setup-dotnet@v4
44+
uses: actions/setup-dotnet@v5
4545
with:
4646
dotnet-version: ${{ env.dotnet-sdk-version }}
4747
- name: 'Extract version from branch name'
@@ -194,7 +194,7 @@ jobs:
194194
- name: 'Checkout ${{ github.head_ref || github.ref }}'
195195
uses: actions/checkout@v5
196196
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
197-
uses: actions/setup-dotnet@v4
197+
uses: actions/setup-dotnet@v5
198198
with:
199199
dotnet-version: ${{ env.dotnet-sdk-version }}
200200
- name: 'Create target branch'

.github/workflows/publish-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
fetch-depth: 0 # Ensure the full git history is available for versioning
4141
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
42-
uses: actions/setup-dotnet@v4
42+
uses: actions/setup-dotnet@v5
4343
with:
4444
dotnet-version: ${{ env.dotnet-sdk-version }}
4545
- name: 'Extract version from branch name'

.github/workflows/pull-request.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: 'Checkout ${{ github.head_ref || github.ref }}'
5858
uses: actions/checkout@v5
5959
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
60-
uses: actions/setup-dotnet@v4
60+
uses: actions/setup-dotnet@v5
6161
with:
6262
dotnet-version: ${{ env.dotnet-sdk-version }}
6363
- name: 'Extract version from branch name'
@@ -129,7 +129,7 @@ jobs:
129129
uses: actions/checkout@v5
130130

131131
- name: 'Setup .NET'
132-
uses: actions/setup-dotnet@v4
132+
uses: actions/setup-dotnet@v5
133133
with:
134134
dotnet-version: ${{ env.dotnet-sdk-version }}
135135

@@ -175,7 +175,7 @@ jobs:
175175
uses: actions/checkout@v5
176176

177177
- name: Setup .NET
178-
uses: actions/setup-dotnet@v4
178+
uses: actions/setup-dotnet@v5
179179
with:
180180
dotnet-version: ${{ env.dotnet-sdk-version }}
181181

@@ -208,7 +208,7 @@ jobs:
208208
uses: actions/checkout@v5
209209

210210
- name: Setup .NET
211-
uses: actions/setup-dotnet@v4
211+
uses: actions/setup-dotnet@v5
212212
with:
213213
dotnet-version: ${{ env.dotnet-sdk-version }}
214214

@@ -222,37 +222,37 @@ jobs:
222222
working-directory: ${{ runner.temp }}/${{ env.nuget-packages-directory }}
223223
dotnet-sdk-version: ${{ env.dotnet-sdk-version }}'
224224

225-
# benchmark:
226-
# if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
227-
# name: Benchmark with .NET CLI on ${{ matrix.os }}
228-
# needs: [build]
229-
# strategy:
230-
# matrix:
231-
# os: [ubuntu-latest, windows-latest, macos-latest]
232-
# runs-on: ${{ matrix.os }}
233-
# steps:
234-
# - name: 'Checkout ${{ github.head_ref || github.ref }}'
235-
# uses: actions/checkout@v5
236-
# - name: Install .NET SDK
237-
# uses: actions/setup-dotnet@v4
238-
# with:
239-
# dotnet-version: |
240-
# 8.x
241-
# 9.x
242-
# - name: Download Build
243-
# uses: actions/download-artifact@v5
244-
# with:
245-
# name: build
246-
# - name: Benchmark
247-
# working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
248-
# run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
249-
# - name: Upload Benchmark Results
250-
# uses: actions/upload-artifact@v4
251-
# with:
252-
# name: benchmark-${{ matrix.os }}
253-
# path: |
254-
# ${{ runner.temp }}/benchmarks/**/*-report-github.md
255-
# - name: Write Benchmark Summary
256-
# shell: bash
257-
# run: cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
258-
# working-directory: ${{ runner.temp }}/benchmarks/
225+
benchmark:
226+
if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
227+
name: Benchmark with .NET CLI on ${{ matrix.os }}
228+
needs: [build]
229+
strategy:
230+
matrix:
231+
os: [ubuntu-latest, windows-latest, macos-latest]
232+
runs-on: ${{ matrix.os }}
233+
steps:
234+
- name: 'Checkout ${{ github.head_ref || github.ref }}'
235+
uses: actions/checkout@v5
236+
- name: Install .NET SDK
237+
uses: actions/setup-dotnet@v5
238+
with:
239+
dotnet-version: |
240+
8.x
241+
9.x
242+
- name: Download Build
243+
uses: actions/download-artifact@v5
244+
with:
245+
name: build
246+
- name: Benchmark
247+
working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
248+
run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
249+
- name: Upload Benchmark Results
250+
uses: actions/upload-artifact@v4
251+
with:
252+
name: benchmark-${{ matrix.os }}
253+
path: |
254+
${{ runner.temp }}/benchmarks/**/*-report-github.md
255+
- name: Write Benchmark Summary
256+
shell: bash
257+
run: cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
258+
working-directory: ${{ runner.temp }}/benchmarks/

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: 'Checkout ${{ github.head_ref || github.ref }}'
7474
uses: actions/checkout@v5
7575
- name: 'Setup .NET ${{ env.dotnet-sdk-version }}'
76-
uses: actions/setup-dotnet@v4
76+
uses: actions/setup-dotnet@v5
7777
with:
7878
dotnet-version: ${{ env.dotnet-sdk-version }}
7979
- name: 'Extract version from branch name'
@@ -145,7 +145,7 @@ jobs:
145145
uses: actions/checkout@v5
146146

147147
- name: 'Setup .NET'
148-
uses: actions/setup-dotnet@v4
148+
uses: actions/setup-dotnet@v5
149149
with:
150150
dotnet-version: ${{ env.dotnet-sdk-version }}
151151

@@ -191,7 +191,7 @@ jobs:
191191
uses: actions/checkout@v5
192192

193193
- name: Setup .NET
194-
uses: actions/setup-dotnet@v4
194+
uses: actions/setup-dotnet@v5
195195
with:
196196
dotnet-version: ${{ env.dotnet-sdk-version }}
197197

@@ -224,7 +224,7 @@ jobs:
224224
uses: actions/checkout@v5
225225

226226
- name: Setup .NET
227-
uses: actions/setup-dotnet@v4
227+
uses: actions/setup-dotnet@v5
228228
with:
229229
dotnet-version: ${{ env.dotnet-sdk-version }}
230230

0 commit comments

Comments
 (0)