Skip to content

Commit 7fcc274

Browse files
Bump actions/setup-dotnet from 4 to 5 (#17958)
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> ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17958) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ebc8285 commit 7fcc274

10 files changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
submodules: true
4747

4848
- name: Setup .NET Core
49-
uses: actions/setup-dotnet@v4
49+
uses: actions/setup-dotnet@v5
5050

5151
- name: Publish Bicep
5252
run: dotnet publish --configuration release --self-contained true -r ${{ matrix.rid }} ./src/Bicep.Cli/Bicep.Cli.csproj
@@ -76,7 +76,7 @@ jobs:
7676
submodules: true
7777

7878
- name: Setup .NET Core
79-
uses: actions/setup-dotnet@v4
79+
uses: actions/setup-dotnet@v5
8080

8181
- name: Pack
8282
run: dotnet pack --configuration release
@@ -106,7 +106,7 @@ jobs:
106106
node-version: 20
107107

108108
- name: Setup .NET Core
109-
uses: actions/setup-dotnet@v4
109+
uses: actions/setup-dotnet@v5
110110

111111
- name: Publish Language Server
112112
run: |
@@ -225,7 +225,7 @@ jobs:
225225
node-version: 20
226226

227227
- name: Setup .NET Core
228-
uses: actions/setup-dotnet@v4
228+
uses: actions/setup-dotnet@v5
229229

230230
- name: Publish Language Server
231231
run: |
@@ -300,7 +300,7 @@ jobs:
300300

301301
# needed by the GenerateNotice package
302302
- name: Setup .NET Core
303-
uses: actions/setup-dotnet@v4
303+
uses: actions/setup-dotnet@v5
304304

305305
- name: Add msbuild to PATH
306306
uses: microsoft/setup-msbuild@v2
@@ -356,7 +356,7 @@ jobs:
356356
submodules: true
357357

358358
- name: Setup .NET Core
359-
uses: actions/setup-dotnet@v4
359+
uses: actions/setup-dotnet@v5
360360

361361
- name: Download Bicep CLI
362362
uses: actions/download-artifact@v4
@@ -419,7 +419,7 @@ jobs:
419419
submodules: true
420420

421421
- name: Setup .NET Core
422-
uses: actions/setup-dotnet@v4
422+
uses: actions/setup-dotnet@v5
423423

424424
- name: Setup Node.js
425425
uses: actions/setup-node@v4
@@ -498,7 +498,7 @@ jobs:
498498
submodules: true
499499

500500
- name: Setup .NET Core
501-
uses: actions/setup-dotnet@v4
501+
uses: actions/setup-dotnet@v5
502502

503503
- name: Setup Node.js
504504
uses: actions/setup-node@v4
@@ -538,7 +538,7 @@ jobs:
538538
submodules: true
539539

540540
- name: Setup .NET Core
541-
uses: actions/setup-dotnet@v4
541+
uses: actions/setup-dotnet@v5
542542

543543
- name: Setup Node.js
544544
uses: actions/setup-node@v4
@@ -594,7 +594,7 @@ jobs:
594594
submodules: true
595595

596596
- name: Setup .NET Core
597-
uses: actions/setup-dotnet@v4
597+
uses: actions/setup-dotnet@v5
598598

599599
- name: Setup Node.js
600600
uses: actions/setup-node@v4
@@ -661,7 +661,7 @@ jobs:
661661
submodules: true
662662

663663
- name: Setup .NET Core
664-
uses: actions/setup-dotnet@v4
664+
uses: actions/setup-dotnet@v5
665665

666666
- name: Run Tests
667667
run: dotnet test --configuration release -- --filter '${{ matrix.config.filter }}' --report-trx --results-directory ${{ github.workspace }}/TestResults
@@ -787,7 +787,7 @@ jobs:
787787
node-version: 20
788788

789789
- name: Setup .NET Core
790-
uses: actions/setup-dotnet@v4
790+
uses: actions/setup-dotnet@v5
791791

792792
- name: Download Bicep CLI
793793
uses: actions/download-artifact@v4

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
languages: csharp, javascript
3131

3232
- name: Setup .NET Core
33-
uses: actions/setup-dotnet@v4
33+
uses: actions/setup-dotnet@v5
3434

3535
- name: Add msbuild to PATH
3636
uses: microsoft/setup-msbuild@v2

.github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
submodules: true
2626

2727
- name: Setup .NET Core
28-
uses: actions/setup-dotnet@v4
28+
uses: actions/setup-dotnet@v5
2929

3030
- name: Setup Node.js
3131
uses: actions/setup-node@v4

.github/workflows/lockfiles-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
token: ${{ secrets.GITHUB_TOKEN }}
2323

2424
- name: Setup .NET Core
25-
uses: actions/setup-dotnet@v4.0.0
25+
uses: actions/setup-dotnet@v5
2626

2727
- name: Restore dotnet dependencies
2828
run: |

.github/workflows/run-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
submodules: true
2222

2323
- name: Setup .NET Core
24-
uses: actions/setup-dotnet@v4
24+
uses: actions/setup-dotnet@v5
2525

2626
- name: Run Benchmarks
2727
run: dotnet run --configuration Release --project src/Bicep.Tools.Benchmark -- --filter '*' --profiler EP

.github/workflows/run-formatter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
2929

3030
- name: Setup .NET
31-
uses: actions/setup-dotnet@v4
31+
uses: actions/setup-dotnet@v5
3232

3333
- name: Setup Node.js
3434
uses: actions/setup-node@v4

.github/workflows/test-azure-cli-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
submodules: true
2525

2626
- name: Setup .NET Core
27-
uses: actions/setup-dotnet@v4
27+
uses: actions/setup-dotnet@v5
2828

2929
- name: Publish Bicep CLI
3030
run: dotnet publish --configuration release --self-contained true -r linux-x64 ./src/Bicep.Cli/Bicep.Cli.csproj

.github/workflows/update-baselines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
2626

2727
- name: Setup .NET Core
28-
uses: actions/setup-dotnet@v4
28+
uses: actions/setup-dotnet@v5
2929

3030
- name: Test
3131
continue-on-error: true

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
2121

2222
- name: Setup .NET Core
23-
uses: actions/setup-dotnet@v4
23+
uses: actions/setup-dotnet@v5
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4

.github/workflows/update-notices.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
3030

3131
- name: Setup .NET Core
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5
3333

3434
- name: Setup Node.js
3535
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)