Files
iroh/.github/workflows/docs.yaml
dependabot[bot] e8415b1ff2 chore(deps): bump mozilla-actions/sccache-action from 0.0.10 to 0.0.11 in the github-actions group (#4452)
Bumps the github-actions group with 1 update:
[mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).

Updates `mozilla-actions/sccache-action` from 0.0.10 to 0.0.11
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mozilla-actions/sccache-action/releases">mozilla-actions/sccache-action's
releases</a>.</em></p>
<blockquote>
<h2>v0.0.11</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump the github-actions group across 1 directory with 2 updates by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/259">Mozilla-Actions/sccache-action#259</a></li>
<li>Bump jest-circus from 29.7.0 to 30.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/256">Mozilla-Actions/sccache-action#256</a></li>
<li>Bump <code>@​actions/io</code> from 2.0.0 to 3.0.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/253">Mozilla-Actions/sccache-action#253</a></li>
<li>ci: verify committed dist/ matches a clean rebuild by <a
href="https://github.com/potiuk"><code>@​potiuk</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li>
<li>prepare the version 0.0.11 by <a
href="https://github.com/sylvestre"><code>@​sylvestre</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/262">Mozilla-Actions/sccache-action#262</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/potiuk"><code>@​potiuk</code></a> made
their first contribution in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11">https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/fc920bf0ec8de6ee65d409111f7ec508035751ba"><code>fc920bf</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/262">#262</a>
from sylvestre/0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/c5764fdf18812cf387df7c2e1207231e98bda733"><code>c5764fd</code></a>
udpate dist files</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/ce939d51f4b92b63a356b3bea7ce8ab412d11fe7"><code>ce939d5</code></a>
update prettier</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/fc24157e3f312f21d07f7e46aa06e8b312b2ebe9"><code>fc24157</code></a>
prepare 0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/439ab273196533b9969dc62dad489114f628a9a7"><code>439ab27</code></a>
README.md prepare the version 0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/a2fac7a0509e69fd5f53e62a09aa52c322e19f31"><code>a2fac7a</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/252">#252</a>
from potiuk/ci-verify-dist</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/4c2e5f0f1a56c8ffc03b1313a9448706888ac5f8"><code>4c2e5f0</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/253">#253</a>
from Mozilla-Actions/dependabot/npm_and_yarn/actions/...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/772f27d055654c3dca4ae89a5a2b104da9f1e924"><code>772f27d</code></a>
ci: verify committed dist/ matches a clean rebuild</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/d270be534369e533247936a054689a64a94dfd9f"><code>d270be5</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/256">#256</a>
from Mozilla-Actions/dependabot/npm_and_yarn/jest-cir...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/52752ae2ccd59d0129ed6b1cb14da9d0d8c8d5ab"><code>52752ae</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/259">#259</a>
from Mozilla-Actions/dependabot/github_actions/github...</li>
<li>Additional commits viewable in <a
href="https://github.com/mozilla-actions/sccache-action/compare/v0.0.10...v0.0.11">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mozilla-actions/sccache-action&package-manager=github_actions&previous-version=0.0.10&new-version=0.0.11)](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 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-07-30 12:34:16 +00:00

76 lines
2.4 KiB
YAML

name: Docs Preview
on:
pull_request:
workflow_dispatch:
inputs:
pr_number:
required: true
type: string
# ensure job runs sequentially so pushing to the preview branch doesn't conflict
concurrency:
group: ci-docs-preview
env:
IROH_FORCE_STAGING_RELAYS: "1"
jobs:
preview_docs:
permissions: write-all
timeout-minutes: 30
name: Docs preview
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' ) && !github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
SCCACHE_CACHE_SIZE: "10G"
PREVIEW_PATH: pr/${{ github.event.pull_request.number || inputs.pr_number }}/docs
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2025-10-09
- name: Install sccache
uses: mozilla-actions/sccache-action@v0.0.11
continue-on-error: true
- uses: ./.github/workflows/sccache-probe
- name: Generate Docs
run: cargo doc --workspace --all-features --no-deps
env:
RUSTDOCFLAGS: --cfg iroh_docsrs
- name: Deploy Docs to Preview Branch
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc/
destination_dir: ${{ env.PREVIEW_PATH }}
publish_branch: generated-docs-preview
- name: Find Docs Comment
uses: peter-evans/find-comment@v4
id: fc
with:
issue-number: ${{ github.event.pull_request.number || inputs.pr_number }}
comment-author: 'github-actions[bot]'
body-includes: Documentation for this PR has been generated
- name: Get current timestamp
id: get_timestamp
run: echo "TIMESTAMP=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
- name: Create or Update Docs Comment
uses: peter-evans/create-or-update-comment@v5
with:
issue-number: ${{ github.event.pull_request.number || inputs.pr_number }}
comment-id: ${{ steps.fc.outputs.comment-id }}
body: |
Documentation for this PR has been generated and is available at: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.PREVIEW_PATH }}/iroh/
Last updated: ${{ env.TIMESTAMP }}
edit-mode: replace