Skip to content

Merge pull request #638 from haoxins/chore #7

Merge pull request #638 from haoxins/chore

Merge pull request #638 from haoxins/chore #7

Workflow file for this run

name: docs
on:
push:
branches:
- master
pull_request:
env:
RUST_TOOLCHAIN: stable
TOOLCHAIN_PROFILE: minimal
jobs:
check:
name: Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout the code
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: ${{ env.TOOLCHAIN_PROFILE }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true
components: rustfmt
- run: cargo install snipdoc --features exec
- run: snipdoc check
env:
SNIPDOC_SKIP_EXEC_COMMANDS: true