mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
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.6 to 0.0.7 <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.7</h2> <h2>What's Changed</h2> <ul> <li>Add arm support by <a href="https://github.com/jdygert-spok"><code>@jdygert-spok</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/159">Mozilla-Actions/sccache-action#159</a></li> <li>add <code>disable_annotations</code> options to disable stats report by <a href="https://github.com/trim21"><code>@trim21</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/162">Mozilla-Actions/sccache-action#162</a></li> <li>remove action version from example by <a href="https://github.com/trim21"><code>@trim21</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/166">Mozilla-Actions/sccache-action#166</a></li> <li>0.0.7 by <a href="https://github.com/sylvestre"><code>@sylvestre</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/172">Mozilla-Actions/sccache-action#172</a></li> </ul> <h2>Dependencies</h2> <ul> <li>Bump <code>@types/jest</code> from 29.5.12 to 29.5.14 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/157">Mozilla-Actions/sccache-action#157</a></li> <li>Bump eslint-plugin-import from 2.29.1 to 2.31.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/154">Mozilla-Actions/sccache-action#154</a></li> <li>Bump eslint-plugin-jest from 28.6.0 to 28.9.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/165">Mozilla-Actions/sccache-action#165</a></li> <li>Bump <code>@types/node</code> from 20.14.11 to 22.10.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/163">Mozilla-Actions/sccache-action#163</a></li> <li>Bump <code>@vercel/ncc</code> from 0.38.1 to 0.38.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/167">Mozilla-Actions/sccache-action#167</a></li> <li>Bump <code>@actions/core</code> from 1.10.1 to 1.11.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/169">Mozilla-Actions/sccache-action#169</a></li> <li>Bump typescript from 5.6.2 to 5.7.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/170">Mozilla-Actions/sccache-action#170</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jdygert-spok"><code>@jdygert-spok</code></a> made their first contribution in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/159">Mozilla-Actions/sccache-action#159</a></li> <li><a href="https://github.com/trim21"><code>@trim21</code></a> made their first contribution in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/162">Mozilla-Actions/sccache-action#162</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.6...v0.0.7">https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.6...v0.0.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/054db53350805f83040bf3e6e9b8cf5a139aa7c9"><code>054db53</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/172">#172</a> from sylvestre/0.0.7</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/0f3ae50cf459ab293ad7baf6a1b4341a8658f5b7"><code>0f3ae50</code></a> Rebuild dist files and update README for releases.</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/3d1446595fa6cd30f9a0c7e965160593c5970c0b"><code>3d14465</code></a> recompile the js files: npm run build</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/42761b0ed4f79ce34f32bc17505d57b63d98da41"><code>42761b0</code></a> prepare release 0.0.7</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/e21e59b7e73ec2659719dd75e4c349899fcbe225"><code>e21e59b</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/170">#170</a> from Mozilla-Actions/dependabot/npm_and_yarn/typescri...</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/2e63a0d136518584ace2f48813a03d183b100ae8"><code>2e63a0d</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/169">#169</a> from Mozilla-Actions/dependabot/npm_and_yarn/actions/...</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/4cdf591d8d9806c8ab511541974ef27ad6cde1c3"><code>4cdf591</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/167">#167</a> from Mozilla-Actions/dependabot/npm_and_yarn/vercel/n...</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/39c9c60c3e3a0efea9400a679b91a3ca1ca43cdd"><code>39c9c60</code></a> Bump typescript from 5.6.2 to 5.7.2</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/178695770dee98d670b5a095681996921e6a675e"><code>1786957</code></a> Bump <code>@actions/core</code> from 1.10.1 to 1.11.1</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/843e5625f68206c418847a7d5b975fbe7a9e77cc"><code>843e562</code></a> Bump <code>@vercel/ncc</code> from 0.38.1 to 0.38.3</li> <li>Additional commits viewable in <a href="https://github.com/mozilla-actions/sccache-action/compare/v0.0.6...v0.0.7">compare view</a></li> </ul> </details> <br /> [](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 <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>
74 lines
2.3 KiB
YAML
74 lines
2.3 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@v4
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: nightly-2024-11-30
|
|
- name: Install sccache
|
|
uses: mozilla-actions/sccache-action@v0.0.7
|
|
|
|
- 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@v3
|
|
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@v4
|
|
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
|