# GitHub Actions CI for this crate.
name: ci
on:
pull_request:
push:
branches:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace
- run: cargo doc --workspace --no-deps
env:
RUSTDOCFLAGS: -D warnings