Skip to content

ci: add test workflow + swap docs-workflow badge for test badge #62

ci: add test workflow + swap docs-workflow badge for test badge

ci: add test workflow + swap docs-workflow badge for test badge #62

Workflow file for this run

name: docs
on:
pull_request:
push:
branches: [main]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: cargo doc (warnings as errors)
env:
RUSTDOCFLAGS: "-D warnings"
run: cargo doc --workspace --all-features --no-deps
- name: cargo test --doc
run: cargo test --doc --workspace --all-features