Update readme, use cooler screenshot #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Swatinem/rust-cache@v2 | |
- name: Install nightly Rust | |
run: rustup default nightly | |
- name: Check docs | |
run: cargo doc --workspace --no-deps --document-private-items |