Skip to content

Commit

Permalink
chore: bump actions/setup-dotnet from 3 to 4 (#1405)
Browse files Browse the repository at this point in the history
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet)
from 3 to 4.
<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>v4.0.0</h2>
<h2>What's Changed</h2>
<p>In the scope of this release, the version of the Node.js runtime was
updated to 20. The majority of dependencies were updated to the latest
versions. From now on, the code for the setup-dotnet will run on Node.js
20 instead of Node.js 16.</p>
<p><strong>Breaking changes</strong></p>
<p>Update Node.js runtime to version 20 by <a
href="https://github.com/harithavattikuti"><code>@​harithavattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/issues/484">#484</a></p>
<p><strong>Non-breaking changes</strong></p>
<ul>
<li>Refactor installer by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/432">actions/setup-dotnet#432</a></li>
<li>Allow json comments by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/431">actions/setup-dotnet#431</a></li>
<li>Sequential version install fix by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/433">actions/setup-dotnet#433</a>
setup-dotnet@v3 used to overwrite dotnet executable on each action run,
which was causing action to fail on some occasions due to executable
being still in use. In setup-dotnet@v4 we solved this issue by adding
another install-script run that installs LTS version of dotnet
executable and uses it for all subsequent dotnet installations. The
first install-script run conducts the actual download only once per
<strong>workflow.</strong></li>
<li>Update fast-xml-parser and dotnet installer scripts by <a
href="https://github.com/IvanZosimov"><code>@​IvanZosimov</code></a> in
<a
href="https://redirect.github.com/actions/setup-dotnet/pull/437">actions/setup-dotnet#437</a></li>
<li>Update dependencies by <a
href="https://github.com/IvanZosimov"><code>@​IvanZosimov</code></a> in
<a
href="https://redirect.github.com/actions/setup-dotnet/pull/440">actions/setup-dotnet#440</a></li>
<li>Bump word-wrap from 1.2.3 to 1.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/444">actions/setup-dotnet#444</a></li>
<li>Update installers by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/462">actions/setup-dotnet#462</a></li>
<li>Update semver by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/468">actions/setup-dotnet#468</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/484">actions/setup-dotnet#484</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-dotnet/compare/v3...v4.0.0">https://github.com/actions/setup-dotnet/compare/v3...v4.0.0</a></p>
<h2>v3.2.0</h2>
<h2>What's Changed</h2>
<p>In scope of this minor release, the ability to cache the NuGet
<code>global-packages</code> folder was added in <a
href="https://redirect.github.com/actions/setup-dotnet/pull/303">actions/setup-dotnet#303</a>
by <a
href="https://github.com/nogic1008"><code>@​nogic1008</code></a></p>
<p>For caching, the action uses the <a
href="https://github.com/actions/toolkit/tree/main/packages/cache"><code>@​toolkit/cache</code></a>
library under the hood, which in turn allows getting rid of configuring
the <a
href="https://github.com/actions/cache"><code>@​actions/cache</code></a>
action separately.</p>
<p>Such input parameters as <code>cache</code> and
<code>cache-dependency-path</code> were added. The <code>cache</code>
input is optional, and caching is turned off by default,
<code>cache-dependency-path</code> is used to specify the path to a
dependency file - <code>packages.lock.json</code>.</p>
<p><strong>Example of use-case:</strong></p>
<pre lang="yaml"><code>- uses: actions/setup-dotnet@v3
  with:
    dotnet-version: 6.x
    cache: true
    cache-dependency-path: subdir/packages.lock.json
</code></pre>
<p>More details can be found in the <a
href="https://github.com/actions/setup-dotnet#caching-nuget-packages">action's
documentation</a>.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-dotnet/compare/v3...v3.2.0">https://github.com/actions/setup-dotnet/compare/v3...v3.2.0</a></p>
<h2>v3.1.0</h2>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-dotnet/commit/4d6c8fcf3c8f7a60068d26b594648e99df24cee3"><code>4d6c8fc</code></a>
Upgrade Node to v20 (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/484">#484</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/2216f56ae1eec353f06abd464e2ec435fa5f5d43"><code>2216f56</code></a>
Update semver (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/468">#468</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/736bc6dea68eb71addebd0c89e1200178e145f0e"><code>736bc6d</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/setup-dotnet/issues/462">#462</a>
from akv-platform/update-installers</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/f5526c2d1bfe45e0d078b8929dc379a93229ca3b"><code>f5526c2</code></a>
Update installers</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/4dba25fa3156706981607e1598b263e056dc3008"><code>4dba25f</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/444">#444</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/ada8800330ab5b086010be13121dd25e9297111e"><code>ada8800</code></a>
Bump semver from 6.3.0 to 6.3.1 (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/443">#443</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/e1749123a8f5e9db8abf5ec8867696143bf9bf47"><code>e174912</code></a>
Update dependencies (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/440">#440</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/a6be55a915808728eafbfb7fcba6275352dcf6e8"><code>a6be55a</code></a>
Update fast-xml-parser and dotnet installer scripts (<a
href="https://redirect.github.com/actions/setup-dotnet/issues/437">#437</a>)</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/9b407708251d576f3dac6969e4c0c453a00ff5d5"><code>9b40770</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/setup-dotnet/issues/433">#433</a>
from akv-platform/sequential-version-install-fix</li>
<li><a
href="https://github.com/actions/setup-dotnet/commit/48277343a530e8f1def38c41afa05da090100cf8"><code>4827734</code></a>
Reduce number of e2e tests</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-dotnet/compare/v3...v4">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=3&new-version=4)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 25, 2023
1 parent 607e7f4 commit 4482eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
os: [ubuntu-latest, windows-2019, macos-latest]
steps:
- name: Install C#
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Checkout ADBC
Expand Down

0 comments on commit 4482eab

Please sign in to comment.