Files
dependabot[bot] c4cb5141fd chore(deps): bump the github-actions group across 1 directory with 3 updates (#4725)
Bumps the github-actions group with 3 updates in the / directory:
[taiki-e/install-action](https://github.com/taiki-e/install-action),
[actions/setup-java](https://github.com/actions/setup-java) and
[actions/create-github-app-token](https://github.com/actions/create-github-app-token).

Updates `taiki-e/install-action` from 2.90.3 to 2.90.6
<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.90.6</h2>
<ul>
<li>
<p>Update <code>wasmtime@latest</code> to 50.0.2.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.41.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.13.9.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.11.3.</p>
</li>
<li>
<p>Update <code>syft@latest</code> to 1.57.2.</p>
</li>
<li>
<p>Update <code>prek@latest</code> to 0.5.11.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.11.9.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.19.1.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.65.0.</p>
</li>
<li>
<p>Update <code>cargo-machete@latest</code> to 0.10.1.</p>
</li>
<li>
<p>Update <code>cargo-deny@latest</code> to 0.21.0.</p>
</li>
<li>
<p>Update <code>biome@latest</code> to 2.6.8.</p>
</li>
</ul>
<h2>2.90.5</h2>
<ul>
<li>
<p>Update <code>mise@latest</code> to 2026.11.8.</p>
</li>
<li>
<p>Update <code>cargo-nextest@latest</code> to 0.9.152.</p>
</li>
</ul>
<h2>2.90.4</h2>
<ul>
<li>
<p>Update <code>yq@latest</code> to 4.54.3.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.40.1.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.13.8.</p>
</li>
<li>
<p>Update <code>typos@latest</code> to 1.52.2.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.11.2.</p>
</li>
<li>
<p>Update <code>syft@latest</code> to 1.57.1.</p>
</li>
<li>
<p>Update <code>rafn@latest</code> to 0.1.7.</p>
</li>
<li>
<p>Update <code>osv-scanner@latest</code> to 2.7.1.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.11.7.</p>
</li>
<li>
<p>Update <code>knope@latest</code> to 0.24.0.</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.90.10] - 2026-11-25</h2>
<ul>
<li>Update <code>sccache@latest</code> to 0.20.1.</li>
</ul>
<h2>[2.90.9] - 2026-11-25</h2>
<ul>
<li>
<p>Update <code>zizmor@latest</code> to 1.33.1.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.42.3.</p>
</li>
<li>
<p>Update <code>sccache@latest</code> to 0.20.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.11.14.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.20.0.</p>
</li>
<li>
<p>Update <code>kache@latest</code> to 2.3.0.</p>
</li>
<li>
<p>Update <code>grcov@latest</code> to 0.10.9.</p>
</li>
<li>
<p>Update <code>cosign@latest</code> to 3.1.5.</p>
</li>
<li>
<p>Update <code>cargo-xwin@latest</code> to 0.24.1.</p>
</li>
<li>
<p>Update <code>cargo-minimal-versions@latest</code> to 0.1.39.</p>
</li>
<li>
<p>Update <code>cargo-deny@latest</code> to 0.22.1.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.28.0.</p>
</li>
<li>
<p>Update <code>biome@latest</code> to 2.6.9.</p>
</li>
</ul>
<h2>[2.90.8] - 2026-11-21</h2>
<ul>
<li>
<p>Update <code>wasmtime@latest</code> to 51.0.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.11.11.</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/75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f"><code>75a7c0f</code></a>
Release 2.90.6</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/d04c1db9f0036db5ae78ba77fd50a545815d9c93"><code>d04c1db</code></a>
Update wasmtime manifest</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/94c5e7660ec7b649e9382a62ea835bb188f1aaec"><code>94c5e76</code></a>
Update <code>wasmtime@latest</code> to 50.0.2</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/4d35baa8f44b392095ac00a8bf58e29eae6a6724"><code>4d35baa</code></a>
Update <code>vacuum@latest</code> to 0.41.0</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/6ce999b39840502b341ee06d43927d9de65a6963"><code>6ce999b</code></a>
Update <code>uv@latest</code> to 0.13.9</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/e413e8e561a2388e37e3a0f27e54a957865ee075"><code>e413e8e</code></a>
Update trunk manifest</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/75d77757ea2cac3a47980f1c18fe19e071567c17"><code>75d7775</code></a>
Update <code>tombi@latest</code> to 1.11.3</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/e201dcce9fde4a2c8cfd773a63b9a2a349b36f2f"><code>e201dcc</code></a>
Update <code>syft@latest</code> to 1.57.2</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/f7b1c482ff6790c7f345006f8dd2de83bf214ddd"><code>f7b1c48</code></a>
Update <code>prek@latest</code> to 0.5.11</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/384d202751979e5b06f32ac3172bbddfe2d08699"><code>384d202</code></a>
Update <code>mise@latest</code> to 2026.11.9</li>
<li>Additional commits viewable in <a
href="https://github.com/taiki-e/install-action/compare/cfdb7ed4ccc7c7dce37759eae89dc5674b469b39...75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/setup-java` from 6.2.0 to 6.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-java/releases">actions/setup-java's
releases</a>.</em></p>
<blockquote>
<h2>v6.3.0</h2>
<h2>Behavior change: Java problem matcher is now opt-in</h2>
<p>Starting with v6.3.0, <code>setup-java</code> no longer registers the
Java problem matcher by default (<a
href="https://redirect.github.com/actions/setup-java/issues/1326">#1326</a>,
fixes <a
href="https://redirect.github.com/actions/setup-java/issues/1322">#1322</a>).
Java compiler warnings, compiler errors, and uncaught exceptions are no
longer turned into annotations on pull request diffs unless you opt
in.</p>
<p>To keep annotations, set <code>problem-matcher: true</code>:</p>
<pre lang="yaml"><code>- uses: actions/setup-java@v6
  with:
    distribution: temurin
    java-version: '25'
    problem-matcher: true
</code></pre>
<p>Compiler output still appears in the build logs, and compilation
errors still fail the build. Only annotations are affected.</p>
<p><strong>Why:</strong> inline annotations cluttered pull request
reviews, and GitHub Actions caps annotations at 10 errors, 10 warnings,
and 10 notices per step, and 50 per job. Larger Java builds therefore
showed only a truncated subset of their diagnostics as annotations. See
<a
href="https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#java-problem-matcher-compiler-annotations">Java
problem matcher (compiler annotations)</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>Architecture validation for JDK file installs by <a
href="https://github.com/v-mahabaleshwars"><code>@​v-mahabaleshwars</code></a>
in <a
href="https://redirect.github.com/actions/setup-java/pull/1324">actions/setup-java#1324</a></li>
<li>chore(deps): bump fast-xml-parser from 5.11.2 to 5.12.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/setup-java/pull/1323">actions/setup-java#1323</a></li>
<li>Add Microsoft OpenJDK 25.0.5.0.2 support by <a
href="https://github.com/brunoborges"><code>@​brunoborges</code></a>
with <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in
<a
href="https://redirect.github.com/actions/setup-java/pull/1320">actions/setup-java#1320</a></li>
<li>Fix JetBrains Runtime hotfix version selection by <a
href="https://github.com/brunoborges"><code>@​brunoborges</code></a>
with <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in
<a
href="https://redirect.github.com/actions/setup-java/pull/1321">actions/setup-java#1321</a></li>
<li>Make Java problem matcher opt-in (default problem-matcher to false)
by <a
href="https://github.com/brunoborges"><code>@​brunoborges</code></a> in
<a
href="https://redirect.github.com/actions/setup-java/pull/1326">actions/setup-java#1326</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-java/compare/v6.2.0...v6.3.0">https://github.com/actions/setup-java/compare/v6.2.0...v6.3.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-java/commit/d1374f8ac74474200d16ef8ecee22c7ae7a51880"><code>d1374f8</code></a>
Make Java problem matcher opt-in (<a
href="https://redirect.github.com/actions/setup-java/issues/1326">#1326</a>)</li>
<li><a
href="https://github.com/actions/setup-java/commit/5fb63c9bc97316aca87b7eae68a3404a62579dd7"><code>5fb63c9</code></a>
Fix JetBrains Runtime hotfix version selection (<a
href="https://redirect.github.com/actions/setup-java/issues/1321">#1321</a>)</li>
<li><a
href="https://github.com/actions/setup-java/commit/a1bf0b5568e6a2d842b3426fa2d47b4cf0ad5d1b"><code>a1bf0b5</code></a>
Add Microsoft OpenJDK 25.0.5.0.2 support (<a
href="https://redirect.github.com/actions/setup-java/issues/1320">#1320</a>)</li>
<li><a
href="https://github.com/actions/setup-java/commit/a3c80683014bc0e5a1aa6bf9fa3a1d2b32a593a0"><code>a3c8068</code></a>
chore(deps): bump fast-xml-parser from 5.11.2 to 5.12.0 (<a
href="https://redirect.github.com/actions/setup-java/issues/1323">#1323</a>)</li>
<li><a
href="https://github.com/actions/setup-java/commit/9ce5b12cb90c06fc1b0e3343c3e65bb977578591"><code>9ce5b12</code></a>
Architecture validation for JDK file installs (<a
href="https://redirect.github.com/actions/setup-java/issues/1324">#1324</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/setup-java/compare/77dd5b2ce225ea11469928ac317850245a74ae78...d1374f8ac74474200d16ef8ecee22c7ae7a51880">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/create-github-app-token` from 3.3.0 to 3.4.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/create-github-app-token/releases">actions/create-github-app-token's
releases</a>.</em></p>
<blockquote>
<h2>v3.4.0</h2>
<h2><a
href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0">3.4.0</a>
(2026-11-18)</h2>
<h3>Features</h3>
<ul>
<li>bump actions/setup-node from 6 to 7 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56">09c1ab7</a>)</li>
<li>bump actions/stale from 10 to 11 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5">679345a</a>)</li>
<li>bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in the
github-actions group (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/408">#408</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3">660c44c</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump undici (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7">18e9994</a>)</li>
</ul>
<h2>v3.4.0-beta</h2>
<h2><a
href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0-beta">3.4.0-beta</a>
(2026-11-17)</h2>
<h3>Features</h3>
<ul>
<li>support GitHub Actions OIDC authentication (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/411">#411</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/8240f10d3ae05b4d450da83e8e247111a36eaf2c">8240f10</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md">actions/create-github-app-token's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2><a
href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0">3.4.0</a>
(2026-11-18)</h2>
<h3>Features</h3>
<ul>
<li>bump actions/setup-node from 6 to 7 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56">09c1ab7</a>)</li>
<li>bump actions/stale from 10 to 11 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5">679345a</a>)</li>
<li>bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in the
github-actions group (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/408">#408</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3">660c44c</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump undici (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7">18e9994</a>)</li>
</ul>
<h2><a
href="https://github.com/actions/create-github-app-token/compare/v3.2.0...v3.3.0">3.3.0</a>
(2026-10-12)</h2>
<h3>Features</h3>
<ul>
<li>update permission inputs (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/399">#399</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/a47236f79f79fcbc3532af49fe3a5ded89529b6e">a47236f</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump nested undici from 6.24.0 to 6.29.0 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/403">#403</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/12461a3a794e67c032f1eff5bb95ece9427eb4fb">12461a3</a>)</li>
<li><strong>deps:</strong> bump the production-dependencies group across
1 directory with 3 updates (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/395">#395</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/a69c19ddfdf8e1ab093900e0064524ce9309c807">a69c19d</a>)</li>
</ul>
<h2><a
href="https://github.com/actions/create-github-app-token/compare/v3.1.1...v3.2.0">3.2.0</a>
(2026-05-12)</h2>
<h3>Features</h3>
<ul>
<li>add support for enterprise-level GitHub Apps (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/263">#263</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/952a2a7073df6bfa5f49bc469ec895b6ec1acea4">952a2a7</a>)</li>
<li>support full repository names in <code>repositories</code> input (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/372">#372</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/85eb8dd41472213aed25d1a126460e0069138ab6">85eb8dd</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​actions/core</code> from 3.0.0
to 3.0.1 in the production-dependencies group (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/364">#364</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/43e5c345bfd4d4f3ecea019ad0042001a09dd857">43e5c34</a>)</li>
<li>validate private-key input (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/376">#376</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/f24bbd89643991c0de27ae823c01791b2c6bafdd">f24bbd8</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/create-github-app-token/commit/f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc"><code>f418cff</code></a>
chore(main): release 3.4.0 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/415">#415</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56"><code>09c1ab7</code></a>
feat: bump actions/setup-node from 6 to 7 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/01b8009bd6d3d8cce95b612d9793c2b76ef46ee3"><code>01b8009</code></a>
test: strip ANSI escape codes from snapshot output (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/412">#412</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/e05686484174f08cd73b6c67321c77132a9ace91"><code>e056864</code></a>
build(deps-dev): bump undici from 8.12.3 to 8.12.4 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/416">#416</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5"><code>679345a</code></a>
feat: bump actions/stale from 10 to 11 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3"><code>660c44c</code></a>
feat: bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in
the gi...</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7"><code>18e9994</code></a>
fix(deps): bump undici (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/create-github-app-token/compare/64ab729a6294000f5aa4a4bc0b73d1f32bc45510...f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-26 16:35:00 +00:00

287 lines
10 KiB
YAML

# Run all tests, with or without flaky tests.
name: Tests
on:
workflow_call:
inputs:
rust-version:
description: "The version of the rust compiler to run"
type: string
default: "stable"
flaky:
description: "Whether to also run flaky tests"
type: boolean
default: false
git-ref:
description: "Which git ref to checkout"
type: string
default: ${{ github.ref }}
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
SCCACHE_CACHE_SIZE: "10G"
CRATES_LIST: "iroh,iroh-bench,iroh-dns-server,iroh-relay"
IROH_FORCE_STAGING_RELAYS: "1"
NEXTEST_VERSION: "0.9.80"
# Default to read-only; jobs that need more grant it explicitly.
permissions:
contents: read
jobs:
build_and_test_nix:
timeout-minutes: 30
name: "Tests"
runs-on: ${{ matrix.runs_on }}
strategy:
fail-fast: false
matrix:
name: [ubuntu-latest, macOS-arm-latest]
rust: ["${{ inputs.rust-version }}"]
features: [all, none, default]
include:
- name: ubuntu-latest
os: ubuntu-latest
release-os: linux
release-arch: amd64
runs_on: blacksmith-8vcpu-ubuntu-2404
- name: macOS-arm-latest
os: macOS-latest
release-os: darwin
release-arch: aarch64
runs_on: blacksmith-6vcpu-macos-26
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
ref: ${{ inputs.git-ref }}
- name: Install ${{ matrix.rust }} rust
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1
with:
toolchain: ${{ matrix.rust }}
- name: Install cargo-nextest
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: nextest@${{ env.NEXTEST_VERSION }}
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
- uses: $/.github/workflows/sccache-probe
- name: Select features
run: |
case "${{ matrix.features }}" in
all)
echo "FEATURES=--all-features" >> "$GITHUB_ENV"
;;
none)
echo "FEATURES=--no-default-features" >> "$GITHUB_ENV"
;;
default)
echo "FEATURES=" >> "$GITHUB_ENV"
;;
*)
exit 1
esac
- name: check features
if: ${{ ! inputs.flaky }}
run: |
for i in ${CRATES_LIST//,/ }
do
echo "Checking $i $FEATURES"
targets="--lib --bins"
echo cargo check --locked -p $i $FEATURES $targets
cargo check --locked -p $i $FEATURES $targets
done
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
- name: build tests
run: |
cargo nextest run --locked --workspace $FEATURES --lib --bins --tests --no-run
- name: list ignored tests
run: |
cargo nextest list --locked --workspace $FEATURES --lib --bins --tests --run-ignored ignored-only
- name: run tests
run: |
mkdir -p output
cargo nextest run --locked --workspace $FEATURES --lib --bins --tests --profile ci --run-ignored "$RUN_IGNORED" $VERBOSE --no-fail-fast --message-format "$MSG_FORMAT" > "output/$OUT_NAME.json"
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1
RUN_IGNORED: ${{ inputs.flaky && 'all' || 'default' }}
VERBOSE: ${{ inputs.flaky && '--verbose' || '' }}
MSG_FORMAT: ${{ inputs.flaky && 'libtest-json' || 'human' }}
OUT_NAME: ${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}
- name: upload results
if: ${{ failure() && inputs.flaky }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: libtest_run_${{ github.run_number }}-${{ github.run_attempt }}-${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
path: output
retention-days: 45
compression-level: 0
- name: doctests
if: ${{ (! inputs.flaky) && matrix.features == 'all' }}
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
run: |
cargo test --locked --workspace --all-features --doc
# We can not check the doctest features by only compiling them,
# so are forced to run them once more.
- name: Check doctest features
if: ${{ ! inputs.flaky }}
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
run: |
for i in ${CRATES_LIST//,/ }
do
echo "Checking $i doctest $FEATURES"
echo cargo test --locked -p $i --doc $FEATURES
cargo test --locked -p $i --doc $FEATURES
done
build_and_test_windows:
timeout-minutes: 30
name: "Tests"
runs-on: blacksmith-8vcpu-windows-2025
strategy:
fail-fast: false
matrix:
name: [windows-latest]
rust: ["${{ inputs.rust-version}}"]
features: [all, none, default]
target:
- x86_64-pc-windows-msvc
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
# Installing a toolchain does not select it, so without this every cargo
# invocation below uses whatever the runner image ships as rustup default.
# As an env var this applies to the job only and leaves the image's
# rustup default untouched.
RUSTUP_TOOLCHAIN: "${{ matrix.rust }}"
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
ref: ${{ inputs.git-ref }}
- name: Install ${{ matrix.rust }}
env:
RUST_TOOLCHAIN: ${{ matrix.rust }}
RUST_TARGET: ${{ matrix.target }}
# bash: pwsh steps ignore a command's exit status, so a failed rustup
# call here goes unnoticed.
shell: bash
run: |
rustup toolchain install "$RUST_TOOLCHAIN" --target "$RUST_TARGET"
rustup set default-host "$RUST_TARGET"
# Fail here rather than building with the wrong compiler if the
# requested toolchain is not the active one.
rustup show active-toolchain | grep -q "^${RUST_TOOLCHAIN}-"
rustc --version
# Was a bare Invoke-WebRequest from get.nexte.st with no checksum,
# unpacked into ~/.cargo/bin on a long-lived host.
- name: Install cargo-nextest
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: nextest@${{ env.NEXTEST_VERSION }}
- name: Select features
run: |
switch ("${{ matrix.features }}") {
"all" {
echo "FEATURES=--all-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
}
"none" {
echo "FEATURES=--no-default-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
}
"default" {
echo "FEATURES=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
}
default {
Exit 1
}
}
- name: Install sccache
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
continue-on-error: true
with:
# Pinned: sccache >= 0.17.0 expands rustc @argfiles and breaks Windows'
# 32K command line limit: https://github.com/mozilla/sccache/issues/2397
version: "v0.16.0"
- uses: $/.github/workflows/sccache-probe
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2.33.0
with:
# Blacksmith's Windows image ships no pre-installed MSYS2 (C:\msys64).
release: true
- name: Install aws-lc-sys build dependencies
shell: powershell
run: |
$chocoPath = "$Env:ProgramData\chocolatey\bin\choco.exe"
if (!(Test-Path $chocoPath)) {
$chocoPath = "$Env:SystemDrive\ProgramData\chocolatey\bin\choco.exe"
}
& $chocoPath install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
& $chocoPath install nasm -y
echo "C:\Program Files\CMake\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\Program Files\NASM" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
- name: build tests
env:
RUST_TARGET: ${{ matrix.target }}
run: |
$feat = if ($env:FEATURES) { $env:FEATURES -split '\s+' } else { @() }
cargo nextest run --locked --workspace @feat --lib --bins --tests --target $env:RUST_TARGET --no-run
- name: list ignored tests
env:
RUST_TARGET: ${{ matrix.target }}
run: |
$feat = if ($env:FEATURES) { $env:FEATURES -split '\s+' } else { @() }
cargo nextest list --locked --workspace @feat --lib --bins --tests --target $env:RUST_TARGET --run-ignored ignored-only
- name: tests
run: |
mkdir -p output
$feat = if ($env:FEATURES) { $env:FEATURES -split '\s+' } else { @() }
cargo nextest run --locked --workspace @feat --lib --bins --tests --profile ci --target $env:RUST_TARGET --run-ignored $env:RUN_IGNORED --no-fail-fast --message-format $env:MSG_FORMAT > "output/$($env:OUT_NAME).json"
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1
RUST_TARGET: ${{ matrix.target }}
RUN_IGNORED: ${{ inputs.flaky && 'all' || 'default' }}
MSG_FORMAT: ${{ inputs.flaky && 'libtest-json' || 'human' }}
OUT_NAME: ${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}
- name: upload results
if: ${{ failure() && inputs.flaky }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: libtest_run_${{ github.run_number }}-${{ github.run_attempt }}-${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
path: output
retention-days: 1
compression-level: 0