Skip to content

chore(deps): Bump crate-ci/typos from 1.47.1 to 1.47.2 #1131

chore(deps): Bump crate-ci/typos from 1.47.1 to 1.47.2

chore(deps): Bump crate-ci/typos from 1.47.1 to 1.47.2 #1131

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
permissions: {}
jobs:
docs:
name: docs
runs-on: ubuntu-latest
# Needs write access for the Deploy step
permissions: { contents: write }
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: nightly
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- name: Build docs
run: cargo doc --no-deps -Zrustdoc-map
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc/
force_orphan: true