Skip to content

Prepare to release 0.3.5 (#271) #171

Prepare to release 0.3.5 (#271)

Prepare to release 0.3.5 (#271) #171

Workflow file for this run

name: Check documentation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTDOCFLAGS: '--cfg docsrs -D warnings'
jobs:
# We test documentation using nightly to match docs.rs.
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-check
- name: Install nightly Rust
run: rustup default nightly
- name: Check docs
run: cargo doc --workspace --no-deps --document-private-items