Files
Workflow config file is invalid. Please check your config file: interpolate runs-on for job "cross_build": Cannot parse non-string type invalid as JSON
dependabot[bot] c6fba1b142 chore(deps): bump the github-actions group with 5 updates (#4608)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) |
`7e38f4b43b4db5c8dd498af069a4f6196df1d067` |
`e2a55d2ffb04f378e9626c28d38b36d230d1e12f` |
| [taiki-e/install-action](https://github.com/taiki-e/install-action) |
`2.87.22` | `2.87.26` |
| [actions/setup-node](https://github.com/actions/setup-node) | `7.0.0`
| `7.1.0` |
|
[actions/download-artifact](https://github.com/actions/download-artifact)
| `8.0.1` | `8.0.2` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact)
| `7.0.1` | `7.0.2` |

Updates `dtolnay/rust-toolchain` from
7e38f4b43b4db5c8dd498af069a4f6196df1d067 to
e2a55d2ffb04f378e9626c28d38b36d230d1e12f
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dtolnay/rust-toolchain/commit/e2a55d2ffb04f378e9626c28d38b36d230d1e12f"><code>e2a55d2</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/rust-toolchain/issues/187">#187</a>
from dtolnay/pwn</li>
<li><a
href="https://github.com/dtolnay/rust-toolchain/commit/6af9a09a9f985be78d729e2c9b2440bdb0314675"><code>6af9a09</code></a>
Unify flags[@] and downgrade[@]</li>
<li><a
href="https://github.com/dtolnay/rust-toolchain/commit/83d06109b7912fe94032e68e59feb6b9e3070e34"><code>83d0610</code></a>
Safely handle action inputs</li>
<li>See full diff in <a
href="https://github.com/dtolnay/rust-toolchain/compare/7e38f4b43b4db5c8dd498af069a4f6196df1d067...e2a55d2ffb04f378e9626c28d38b36d230d1e12f">compare
view</a></li>
</ul>
</details>
<br />

Updates `taiki-e/install-action` from 2.87.22 to 2.87.26
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/taiki-e/install-action/releases">taiki-e/install-action's
releases</a>.</em></p>
<blockquote>
<h2>2.87.26</h2>
<ul>
<li>
<p>Update <code>tombi@latest</code> to 1.7.2.</p>
</li>
<li>
<p>Update <code>prek@latest</code> to 0.5.5.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.3.</p>
</li>
<li>
<p>Update <code>kache@latest</code> to 1.0.0.</p>
</li>
<li>
<p>Update <code>hyperfine@latest</code> to 1.21.0.</p>
</li>
</ul>
<h2>2.87.25</h2>
<ul>
<li>
<p>Update <code>uv@latest</code> to 0.12.23.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.2.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.10.0.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.60.1.</p>
</li>
<li>
<p>Update <code>cargo-semver-checks@latest</code> to 0.51.0.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.25.1.</p>
</li>
</ul>
<h2>2.87.24</h2>
<ul>
<li>
<p>Update <code>wasmtime@latest</code> to 49.0.2.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.59.0.</p>
</li>
<li>
<p>Update <code>cargo-leptos@latest</code> to 0.3.11.</p>
</li>
<li>
<p>Update <code>cargo-insta@latest</code> to 1.49.0.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.25.0.</p>
</li>
</ul>
<h2>2.87.23</h2>
<ul>
<li>
<p>Update <code>wasm-tools@latest</code> to 1.261.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.12.22.</p>
</li>
<li>
<p>Update <code>trivy@latest</code> to 0.75.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.7.1.</p>
</li>
<li>
<p>Update <code>protoc-gen-connect-openapi@latest</code> to 0.28.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.0.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.9.1.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md">taiki-e/install-action's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this
file.</p>
<p>This project adheres to <a href="https://semver.org">Semantic
Versioning</a>.</p>
<!-- raw HTML omitted -->
<h2>[Unreleased]</h2>
<h2>[2.87.28] - 2026-10-12</h2>
<ul>
<li>
<p>Update <code>dprint@latest</code> to 0.62.0.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.33.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.13.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.8.1.</p>
</li>
<li>
<p>Update <code>release-plz@latest</code> to 0.3.171.</p>
</li>
<li>
<p>Update <code>rclone@latest</code> to 1.75.2.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.7.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.25.3.</p>
</li>
</ul>
<h2>[2.87.27] - 2026-10-09</h2>
<ul>
<li>
<p>Update <code>vacuum@latest</code> to 0.32.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.12.24.</p>
</li>
<li>
<p>Update <code>typos@latest</code> to 1.51.1.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.7.3.</p>
</li>
<li>
<p>Update <code>syft@latest</code> to 1.54.1.</p>
</li>
<li>
<p>Update <code>release-plz@latest</code> to 0.3.170.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.4.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.11.1.</p>
</li>
<li>
<p>Update <code>hyperfine@latest</code> to 2.0.0.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/taiki-e/install-action/commit/f7e5d7c961414b23f5b25b2da9294395d08513ad"><code>f7e5d7c</code></a>
Release 2.87.26</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/148b70c8533f32f0f67928d48f6234c224cc2717"><code>148b70c</code></a>
Update <code>tombi@latest</code> to 1.7.2</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/9856be60d227976dcbe71f75a36a857c6bf3504a"><code>9856be6</code></a>
Update <code>prek@latest</code> to 0.5.5</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/246da9e6f2857c0c408cc9b590117673cd74d06e"><code>246da9e</code></a>
Update <code>mise@latest</code> to 2026.10.3</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/8ec05a70c3252cd782c8c266ee7c57fdfa6b0699"><code>8ec05a7</code></a>
Update <code>kache@latest</code> to 1.0.0</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/a5ed626e494481910920bbdee016db18f33bf1df"><code>a5ed626</code></a>
Update <code>hyperfine@latest</code> to 1.21.0</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/183e4297cca2404691e9380e1307288dced5c82a"><code>183e429</code></a>
Release 2.87.25</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/5e241e4899f64a7ba9011f0c3a46f591b6527640"><code>5e241e4</code></a>
Update <code>uv@latest</code> to 0.12.23</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/126791b91b3ba2303cb850bbdb6943156fe7c71b"><code>126791b</code></a>
Update tombi manifest</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/35ba21c90f3f48ed80e4934a494a422e17488157"><code>35ba21c</code></a>
Update prek manifest</li>
<li>Additional commits viewable in <a
href="https://github.com/taiki-e/install-action/compare/83ac0ad63c0167e6f06796fab0fce28db1bf3db0...f7e5d7c961414b23f5b25b2da9294395d08513ad">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/setup-node` from 7.0.0 to 7.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-node/releases">actions/setup-node's
releases</a>.</em></p>
<blockquote>
<h2>v7.1.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements:</h3>
<ul>
<li>Add support for mise.toml file by <a
href="https://github.com/gperdomor"><code>@​gperdomor</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1421">actions/setup-node#1421</a></li>
<li>Support absolute paths in node-version-file by <a
href="https://github.com/v-mahabaleshwars"><code>@​v-mahabaleshwars</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1633">actions/setup-node#1633</a></li>
</ul>
<h3>Bug fixes:</h3>
<ul>
<li>Add Node version validation and manifest fetch retry by <a
href="https://github.com/v-jitenderpalsingh"><code>@​v-jitenderpalsingh</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1580">actions/setup-node#1580</a></li>
</ul>
<h3>Documentation updates:</h3>
<ul>
<li>README.md: bump actions/checkout to latest version 7 by <a
href="https://github.com/deining"><code>@​deining</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1578">actions/setup-node#1578</a></li>
<li>docs: add V7 ESM migration and NODE_AUTH_TOKEN behavior change by <a
href="https://github.com/v-gowridurgad"><code>@​v-gowridurgad</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1593">actions/setup-node#1593</a></li>
<li>Fixed cache recommendation syntax by <a
href="https://github.com/SubJunk"><code>@​SubJunk</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1603">actions/setup-node#1603</a></li>
</ul>
<h3>Dependency updates:</h3>
<ul>
<li>Update workflow pins and migrate Node matrices to modern versions by
<a
href="https://github.com/v-HarithaVattikuti"><code>@​v-HarithaVattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1583">actions/setup-node#1583</a></li>
<li>Upgrade <code>@​actions/cache</code> to 6.2.0 by <a
href="https://github.com/philip-gai"><code>@​philip-gai</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1584">actions/setup-node#1584</a></li>
<li>Pin <code>@​types/node</code> to v24 by <a
href="https://github.com/v-priyagupta108"><code>@​v-priyagupta108</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1585">actions/setup-node#1585</a></li>
<li>Override brace-expansion to 5.0.8 by <a
href="https://github.com/v-priyagupta108"><code>@​v-priyagupta108</code></a>
with <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in
<a
href="https://redirect.github.com/actions/setup-node/pull/1599">actions/setup-node#1599</a></li>
<li>Upgrade actions/checkout from 7.0.0 to 7.0.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1598">actions/setup-node#1598</a></li>
<li>Upgrade prettier from 3.8.4 to 3.9.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1590">actions/setup-node#1590</a></li>
<li>Upgrade <code>@​vercel/ncc</code> from 0.44.0 to 0.45.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1610">actions/setup-node#1610</a></li>
<li>Upgrade pnpm/action-setup from 6.0.9 to 6.0.10 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1602">actions/setup-node#1602</a></li>
<li>Upgrade baseline-browser-mapping from 2.10.38 to 2.11.22 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1629">actions/setup-node#1629</a></li>
<li>Upgrade <code>@​types/semver</code> from 7.7.1 to 7.8.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1616">actions/setup-node#1616</a></li>
<li>Upgrade <code>@​typescript-eslint/parser</code> from 8.62.0 to
8.70.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1615">actions/setup-node#1615</a></li>
<li>Upgrade pnpm/action-setup from 6.0.10 to 6.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1631">actions/setup-node#1631</a></li>
<li>Upgrade jest-each from 30.4.1 to 30.5.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1636">actions/setup-node#1636</a></li>
<li>Upgrade eslint-plugin-n from 18.1.0 to 18.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1638">actions/setup-node#1638</a></li>
<li>Update dependencies and add license files by <a
href="https://github.com/v-HarithaVattikuti"><code>@​v-HarithaVattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1642">actions/setup-node#1642</a></li>
<li>Upgrade eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to
7.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1635">actions/setup-node#1635</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/v-jitenderpalsingh"><code>@​v-jitenderpalsingh</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1580">actions/setup-node#1580</a></li>
<li><a
href="https://github.com/philip-gai"><code>@​philip-gai</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1584">actions/setup-node#1584</a></li>
<li><a href="https://github.com/gperdomor"><code>@​gperdomor</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1421">actions/setup-node#1421</a></li>
<li><a href="https://github.com/SubJunk"><code>@​SubJunk</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1603">actions/setup-node#1603</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v7.0.0...v7.1.0">https://github.com/actions/setup-node/compare/v7.0.0...v7.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-node/commit/949feb2413d6458794dcd2491c4babbbce0c15c1"><code>949feb2</code></a>
Bump eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to 7.1.0
(<a
href="https://redirect.github.com/actions/setup-node/issues/1635">#1635</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/7207c4f1189c7ee83ddf20c7c68bd1af6fdd751c"><code>7207c4f</code></a>
chore: update dependencies and add license files (<a
href="https://redirect.github.com/actions/setup-node/issues/1642">#1642</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/54337e0d02de9202d0948aaff36ad556375497b9"><code>54337e0</code></a>
Bump eslint-plugin-n from 18.1.0 to 18.3.0 (<a
href="https://redirect.github.com/actions/setup-node/issues/1638">#1638</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/fb54fa8c14c63410cc752f0ae3b7b3ca6af161fc"><code>fb54fa8</code></a>
Bump jest-each from 30.4.1 to 30.5.2 (<a
href="https://redirect.github.com/actions/setup-node/issues/1636">#1636</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/7f84f1d52d0c56afb45c62fee31a93b843cea4d6"><code>7f84f1d</code></a>
Bump pnpm/action-setup from 6.0.10 to 6.1.0 (<a
href="https://redirect.github.com/actions/setup-node/issues/1631">#1631</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/0c54c7b07420dcba69a7d832587f55ebdf771c9e"><code>0c54c7b</code></a>
Bump <code>@​typescript-eslint/parser</code> from 8.62.0 to 8.70.0 (<a
href="https://redirect.github.com/actions/setup-node/issues/1615">#1615</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/a8294190049a9c296f01b9a432aff41dd83d8284"><code>a829419</code></a>
Bump <code>@​types/semver</code> from 7.7.1 to 7.8.0 (<a
href="https://redirect.github.com/actions/setup-node/issues/1616">#1616</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/680d1e489b82f1243de15bc7665c0007e3c9a860"><code>680d1e4</code></a>
Support absolute paths in node-version-file (<a
href="https://redirect.github.com/actions/setup-node/issues/1633">#1633</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/db0fb3a98ed314b69026b6e8c9be26a7e2fe65a8"><code>db0fb3a</code></a>
Bump baseline-browser-mapping from 2.10.38 to 2.11.22 (<a
href="https://redirect.github.com/actions/setup-node/issues/1629">#1629</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/94196ee1d15439c1b6651cd87ef14e88ec435966"><code>94196ee</code></a>
Bump pnpm/action-setup from 6.0.9 to 6.0.10 (<a
href="https://redirect.github.com/actions/setup-node/issues/1602">#1602</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/download-artifact` from 8.0.1 to 8.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/download-artifact/releases">actions/download-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update the readme by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/download-artifact/pull/473">actions/download-artifact#473</a></li>
<li>Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.</li>
<li>Update <code>@​actions/artifact</code> to 6.3.1 by <a
href="https://github.com/tunc-d"><code>@​tunc-d</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li>
<li>Prepare download-artifact v8.0.2 by <a
href="https://github.com/tunc-d"><code>@​tunc-d</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/493">actions/download-artifact#493</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tunc-d"><code>@​tunc-d</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2">https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/download-artifact/commit/9000827ccba6bdab643e8b6fd33ac0654aef8333"><code>9000827</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/493">#493</a>
from actions/tunc-d-prepare-download-v8-0-2</li>
<li><a
href="https://github.com/actions/download-artifact/commit/e455989ae00f5bdd4054f05d3e972c6bf8a62dc5"><code>e455989</code></a>
Prepare download-artifact v8.0.2</li>
<li><a
href="https://github.com/actions/download-artifact/commit/a00b90c4a2f01d73a8c89552caabca6ea3b43137"><code>a00b90c</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/492">#492</a>
from actions/tunc-d-download-artifact-package-bump</li>
<li><a
href="https://github.com/actions/download-artifact/commit/29bb7ce6af5345aeab5bb4774ce7249ee3ccc27f"><code>29bb7ce</code></a>
Update <code>@​actions/artifact</code> to 6.3.1</li>
<li><a
href="https://github.com/actions/download-artifact/commit/484a0b528fb4d7bd804637ccb632e47a0e638317"><code>484a0b5</code></a>
Update the readme (<a
href="https://redirect.github.com/actions/download-artifact/issues/473">#473</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/download-artifact/compare/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c...9000827ccba6bdab643e8b6fd33ac0654aef8333">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.</li>
<li>Updates <code>@​actions/artifact</code> to v6.3.1.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tunc-d"><code>@​tunc-d</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/821">actions/upload-artifact#821</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2">https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/upload-artifact/commit/cf430e030ddbb5b0abf93d22962f4752f3646cd9"><code>cf430e0</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/822">#822</a>
from actions/tunc-d-prepare-upload-v7-0-2</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/c2acdedd35a8824a1552c7137f8c18288c3ea469"><code>c2acded</code></a>
chore: prepare v7.0.2 release</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/4687c1bbaa0a58abb517d90b4bbade6754c80c1a"><code>4687c1b</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/821">#821</a>
from actions/tunc-d-upload-artifact-package-bump</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/8cbe1bebdb858105d8fdd88f81404d4de4595719"><code>8cbe1be</code></a>
Bump <code>@​actions/artifact</code> to 6.3.1</li>
<li>See full diff in <a
href="https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9">compare
view</a></li>
</ul>
</details>
<br />


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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-16 15:29:23 -04:00

617 lines
25 KiB
YAML

name: CI
on:
pull_request:
types: ["labeled", "unlabeled", "opened", "synchronize", "reopened"]
merge_group:
push:
branches:
- main
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
MSRV: "1.91"
SCCACHE_CACHE_SIZE: "10G"
IROH_FORCE_STAGING_RELAYS: "1"
# Default to read-only; jobs that need more grant it explicitly.
permissions:
contents: read
jobs:
pick-runner:
uses: "$/.github/workflows/pick-runner.yml"
with:
min_free_runners: 3
secrets:
RUNNER_READ_TOKEN: ${{ secrets.RUNNER_READ_TOKEN }}
tests:
name: CI Test Suite
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
uses: "$/.github/workflows/tests.yaml"
min-crates:
name: Min Crates
uses: "n0-computer/workflows/.github/workflows/minimal-crates.yaml@4e050c94c7d9679a2a0c4113a9cd6bfd3ec73194" # v1.1.1
cross_build:
name: Cross Build Only
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
timeout-minutes: 30
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_1) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTFLAGS: "-Dwarnings --cfg skip_patchbay"
strategy:
fail-fast: false
matrix:
target:
# cross tests are currently broken vor armv7 and aarch64
# see https://github.com/cross-rs/cross/issues/1311
# - armv7-linux-androideabi
# - aarch64-linux-android
# Freebsd execution fails in cross
# - i686-unknown-freebsd # Linking fails :/
- x86_64-unknown-freebsd
# Netbsd execution fails to link in cross
# - x86_64-unknown-netbsd
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
submodules: recursive
- name: Install rust stable
uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: Cleanup Docker
continue-on-error: true
run: |
docker kill $(docker ps -q)
# See https://github.com/cross-rs/cross/issues/1222
- name: Cache cross
id: cache-cross
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cargo/bin/cross
key: cross-${{ runner.os }}-${{ runner.arch }}
- name: Install cross
if: steps.cache-cross.outputs.cache-hit != 'true'
uses: taiki-e/install-action@f7e5d7c961414b23f5b25b2da9294395d08513ad # v2.87.26
with:
tool: cross
- name: build
# cross tests are currently broken vor armv7 and aarch64
# see https://github.com/cross-rs/cross/issues/1311. So on
# those platforms we only build but do not run tests.
run: cross build --all --target ${{ matrix.target }}
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: cc
android:
name: Android Build & Test
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
timeout-minutes: 30
runs-on: [self-hosted, linux, X64]
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-linux-android
- target: armv7-linux-androideabi
- target: x86_64-linux-android
api-level: 35
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Enable KVM for nested virtualization
if: matrix.target == 'x86_64-linux-android'
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666"' \
| sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Set up Rust
uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
target: ${{ matrix.target }}
- name: Setup Java
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
distribution: "temurin"
java-version: "17"
- name: Setup Android SDK
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
# Pinned to a release tag (rather than @main) for supply-chain hygiene.
- name: Setup Android NDK
uses: nttld/setup-ndk@ed92fe6cadad69be94a966a7ee3271275e62f779 # v1.6.0
id: setup-ndk
with:
ndk-version: r25c
add-to-path: true
- name: Install cargo-ndk
run: cargo install --locked --version 4.1.2 cargo-ndk
# Replace cargo-ndk-runner with a wrapper that forwards RUST_LOG
# and RUST_BACKTRACE into the emulator shell. The upstream binary
# does `adb shell <bin>` without inheriting any host env.
#
# The wrapper also removes each binary from the guest once it has run.
# A full run pushes ~1.25GB of debug test binaries into /data/local/tmp
# and the guest data partition is only ~5.8GB, so leaving them behind
# accumulates across jobs (see the sweep in the emulator script below).
- name: Wrap cargo-ndk-runner to forward logging env
if: matrix.target == 'x86_64-linux-android'
run: |
cat > "$(which cargo-ndk-runner)" <<'WRAPPER'
#!/bin/sh
set -e
dev=/data/local/tmp/$(basename "$1")
adb push "$1" "$dev" >/dev/null
adb shell chmod 755 "$dev"
shift
set +e
adb shell "RUST_LOG=$RUST_LOG RUST_BACKTRACE=$RUST_BACKTRACE $dev $*"
rc=$?
adb shell rm -f "$dev" >/dev/null 2>&1
exit $rc
WRAPPER
chmod +x "$(which cargo-ndk-runner)"
- name: Build
if: matrix.target != 'x86_64-linux-android'
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: cargo ndk --target ${{ matrix.target }} build --locked
# Build all the test binaries up front so the emulator boot can
# overlap with compilation. cargo-ndk runs `cargo test --no-run`
# against each crate; the binaries land in
# target/$CARGO_NDK_TARGET/debug/deps/.
- name: Build workspace test binaries
if: matrix.target == 'x86_64-linux-android'
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
CARGO_NDK_TARGET: ${{ matrix.target }}
run: |
cargo ndk test --locked --no-run -p iroh-base --all-features
cargo ndk test --locked --no-run -p iroh-dns --features tls-ring
cargo ndk test --locked --no-run -p iroh-relay --features tls-ring,metrics
cargo ndk test --locked --no-run -p iroh --features tls-ring,metrics,portmapper,test-utils
- name: Run workspace tests on Android emulator
if: matrix.target == 'x86_64-linux-android'
timeout-minutes: 30
uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2.38.0
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
# Forwarded into the emulator by the cargo-ndk-runner wrapper.
RUST_LOG: trace
RUST_BACKTRACE: "1"
CARGO_NDK_TARGET: ${{ matrix.target }}
with:
api-level: ${{ matrix.api-level }}
arch: x86_64
target: google_apis
force-avd-creation: false
# `-dns-server` + `-netfast` + `-no-metrics` is the combination reported to give
# working public-internet connectivity on the GH-hosted runner; without them wlan0
# stays NO-CARRIER and every connect() to a public IP fails with ENETUNREACH.
# See https://github.com/ReactiveCircus/android-emulator-runner/issues/348#issuecomment-2578082030
#
# `-no-snapshot`: on persistent self-hosted runners the AVD survives between jobs,
# so the emulator quickboot-resumes from the previous run's snapshot. Resumed guests
# have broken networking (UDP DNS times out), failing DNS tests. Always cold boot
# and never save state.
emulator-options: -no-window -no-audio -no-boot-anim -gpu swiftshader_indirect -dns-server 8.8.8.8 -netfast -no-metrics -no-snapshot
disable-animations: true
script: |
adb wait-for-device
# Wait for full boot and a working outbound TCP. `sys.boot_completed=1` fires
# before the radio/Wi-Fi stack comes up, and `ip route get 8.8.8.8` reports
# success while the kernel's per-network fwmark route is still missing. Probe
# an actual TCP connect to 8.8.8.8:53 instead - it exercises the same path
# the test sockets will use.
adb shell 'i=0; while [ -z "$(getprop sys.boot_completed | tr -d "\r")" ]; do i=$((i+1)); if [ $i -gt 300 ]; then exit 1; fi; sleep 2; done'
adb shell 'i=0; while ! nc -w 2 8.8.8.8 53 </dev/null >/dev/null 2>&1; do i=$((i+1)); if [ $i -gt 30 ]; then exit 1; fi; sleep 2; done'
# Disable IPv6: the emulator has site-local + link-local v6 but no global v6
# route, so connect() to a global v6 address hangs instead of returning ENETUNREACH.
adb root && adb wait-for-device
adb shell sysctl -w net.ipv6.conf.all.disable_ipv6=1 || true
adb shell sysctl -w net.ipv6.conf.default.disable_ipv6=1 || true
adb shell sysctl -w net.ipv6.conf.lo.disable_ipv6=1 || true
adb shell ip addr
# Sweep leftover test binaries out of the guest. `force-avd-creation: false`
# keeps the AVD between jobs, and `-no-snapshot` only disables the *RAM*
# quickboot snapshot - the userdata qcow2 overlay still persists on disk. A
# job that is cancelled or times out leaves its pushed binaries behind, so
# without this they accumulate until /data (~5.8G) fills and every `adb push`
# fails with ENOSPC. The runner wrapper deletes binaries as it goes; this
# catches what it could not.
adb shell 'rm -rf /data/local/tmp/*' || true
adb shell df -h /data
cargo ndk test --locked -p iroh-base --all-features
cargo ndk test --locked -p iroh-dns --features tls-ring
cargo ndk test --locked -p iroh-relay --features tls-ring,metrics
cargo ndk test --locked -p iroh --features tls-ring,metrics,portmapper,test-utils
cross_test:
name: Cross Test
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
timeout-minutes: 30
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_3) }}
# runs-on: [self-hosted, linux, X64]
strategy:
fail-fast: false
matrix:
target:
- i686-unknown-linux-gnu
env:
RUSTFLAGS: "-Dwarnings --cfg skip_patchbay"
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
submodules: recursive
- name: Install rust stable
uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: Cleanup Docker
continue-on-error: true
run: |
docker kill $(docker ps -q)
# See https://github.com/cross-rs/cross/issues/1222
- name: Cache cross
id: cache-cross
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cargo/bin/cross
key: cross-${{ runner.os }}-${{ runner.arch }}
- name: Install cross
if: steps.cache-cross.outputs.cache-hit != 'true'
uses: taiki-e/install-action@f7e5d7c961414b23f5b25b2da9294395d08513ad # v2.87.26
with:
tool: cross
- name: test
run: cross test --all --target ${{ matrix.target }} -- --test-threads=12
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG' }}
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: cc
wasm_test:
name: Build & test wasm32 for browsers
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_4) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTFLAGS: '--cfg getrandom_backend="wasm_js"'
steps:
- name: Checkout sources
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup node.js version 22.5 # needed for browser-like websocket API support in node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 22.5
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown
- name: Install wasm-bindgen-test-runner
uses: taiki-e/install-action@f7e5d7c961414b23f5b25b2da9294395d08513ad # v2.87.26
with:
# Match the version of wasm-bindgen used in Cargo.lock
tool: wasm-bindgen-cli@0.2.128
- name: Install wasm-tools
uses: bytecodealliance/actions/wasm-tools/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: wasm32 build (iroh-base)
run: cargo build --locked --target wasm32-unknown-unknown -p iroh-base --all-features
- name: wasm32 build (iroh-relay)
run: cargo build --locked --target wasm32-unknown-unknown -p iroh-relay
- name: wasm32 build (iroh)
run: cargo build --locked --target wasm32-unknown-unknown -p iroh
# If the Wasm file contains any 'import "env"' declarations, then
# some non-Wasm-compatible code made it into the final code.
- name: Ensure no 'import "env"' in iroh-relay Wasm
run: |
! wasm-tools print --skeleton target/wasm32-unknown-unknown/debug/iroh_relay.wasm | grep 'import "env"'
- name: Ensure no 'import "env"' in iroh Wasm
run: |
! wasm-tools print --skeleton target/wasm32-unknown-unknown/debug/iroh.wasm | grep 'import "env"'
- name: Run integration test in wasm
run: cargo test --locked -p iroh --test integration --target=wasm32-unknown-unknown
check_semver:
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_5) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
- name: Check semver
# uses: obi1kenobi/cargo-semver-checks-action@6b69fcf40e9b5fb17adeb57e4b6ecd020649a239 # v2
uses: n0-computer/cargo-semver-checks-action@b49de9133f8849bb51cae32c6bdeb19a5c37e61f # feat-baseline
with:
package: iroh, iroh-base, iroh-dns, iroh-dns-server, iroh-relay
check_external_types:
timeout-minutes: 30
name: Check external types in public API
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_9) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
# The tool drives an internal rustdoc invocation that only emits JSON
# for the analyzer, so the workflow-wide `-Dwarnings` would just turn
# unrelated rustdoc lints (e.g. `private-intra-doc-links`) into hard
# failures here. Clear it for this job.
RUSTDOCFLAGS: ""
# Pin to the nightly that the pinned `cargo-check-external-types`
# release was last tested against. Update both together.
CARGO_CHECK_EXTERNAL_TYPES_VERSION: "0.5.0"
TOOLCHAIN: "nightly-2026-03-20"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: ${{ env.TOOLCHAIN }}
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- name: Install cargo-check-external-types
uses: taiki-e/install-action@f7e5d7c961414b23f5b25b2da9294395d08513ad # v2.87.26
with:
tool: |
cargo-make
cargo-check-external-types@${{ env.CARGO_CHECK_EXTERNAL_TYPES_VERSION }}
- name: Check external types
run: cargo make check-external-types
- name: Lockfile must not have moved
# cargo make takes no --locked; assert the lockfile instead.
run: git diff --exit-code Cargo.lock
check_fmt:
timeout-minutes: 30
name: Checking fmt
runs-on: ubuntu-latest
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
components: rustfmt
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
- uses: taiki-e/install-action@f7e5d7c961414b23f5b25b2da9294395d08513ad # v2.87.26
with:
tool: cargo-make
- run: cargo make format-check
- name: Lockfile must not have moved
# cargo make takes no --locked; assert the lockfile instead.
run: git diff --exit-code Cargo.lock
check_docs:
timeout-minutes: 30
name: Checking docs
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_6) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
RUSTDOCFLAGS: --cfg docsrs
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: nightly-2025-10-09
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
- name: Docs
run: cargo doc --locked --workspace --all-features --no-deps --document-private-items
clippy_check:
timeout-minutes: 30
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_7) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
components: clippy
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
# TODO: We have a bunch of platform-dependent code so should
# probably run this job on the full platform matrix
- name: clippy check (all features)
run: cargo clippy --locked --workspace --all-features --all-targets --lib --bins --tests --benches --examples
- name: clippy check (no features)
run: cargo clippy --locked --workspace --no-default-features --all-targets --lib --bins --tests --benches --examples
- name: clippy check (default features)
run: cargo clippy --locked --workspace --all-targets --lib --bins --tests --benches --examples
check_optional_deps:
timeout-minutes: 10
name: Check optional deps are absent without features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: Verify optional deps are absent without features
run: |
fail=0
for dep in portmapper igd-next swarm-discovery ring aws-lc-rs; do
echo "cargo tree --locked -p iroh --no-default-features --edges normal --target all -i $dep";
output=$(cargo tree --locked -p iroh --no-default-features --edges normal --target all -i "$dep" 2>&1) || true
if ! echo "$output" | grep -qE "(nothing to print|did not match any packages)"; then
echo "ERROR: $dep should not be in the dependency tree without its feature"
echo "$output"
fail=1
fi
done
exit $fail
msrv:
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
timeout-minutes: 30
name: Minimal Supported Rust Version
needs: pick-runner
runs-on: ${{ fromJSON(needs.pick-runner.outputs.overflow_8) }}
# runs-on: [self-hosted, linux, X64]
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: ${{ env.MSRV }}
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
- name: Check MSRV all features
run: |
cargo +$MSRV check --locked --workspace --all-targets
cargo_deny:
timeout-minutes: 30
name: cargo deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
with:
arguments: --workspace --all-features
command: check
command-arguments: "-Dwarnings"
netsim-integration-tests:
permissions:
contents: read
pull-requests: write # netsim_runner posts the report comment
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
uses: "$/.github/workflows/netsim_runner.yaml"
secrets:
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_REPORT_BUCKET: ${{ secrets.S3_REPORT_BUCKET }}
METRO_TOKEN: ${{ secrets.METRO_TOKEN }}
METRO_ENDPOINT: ${{ secrets.METRO_ENDPOINT }}
with:
branch: ${{ github.ref }}
max_workers: 6
netsim_branch: "main"
sim_paths: ${{ github.event_name == 'pull_request' && 'sims/integration' || 'sims/iroh/iroh.json,sims/integration' }}
pr_number: ${{ github.event.pull_request.number || '' }}
filter: ${{ github.event_name == 'pull_request' && 'skip:intg_iroh_full__1_to_3,intg_iroh_full__1_to_1x3,intg_iroh_relay_only__1_to_3' || '' }}
codespell:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Cache pip
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/pip
key: pip-codespell-2.4.1
- run: pip install --user codespell[toml]==2.4.1
- run: codespell --ignore-words-list=ans,atmost,crate,inout,ratatui,ser,stayin,swarmin,worl,keep-alives --skip=CHANGELOG.md