diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-20 10:48:25 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-20 10:48:25 +0200 |
| commit | 7bb69c0902b4b074281a95236120775d74879ed6 (patch) | |
| tree | 4b76b319661f77681f6b6b37e9baea7651beaa9d /.github/workflows | |
| parent | 10fac143414099b4f0a34eca4961f47c4ac09938 (diff) | |
Check crate docs in CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ddad7bc..9daace18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: [push, pull_request] env: RUSTFLAGS: "-Dwarnings" + RUSTDOCFLAGS: "-Dwarnings" jobs: tests: @@ -16,14 +17,15 @@ jobs: - run: cargo test --workspace --no-fail-fast checks: - name: Check formatting and clippy + name: Check clippy, formatting, and documentation runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: cargo fmt --check --all - run: cargo clippy --workspace --all-targets + - run: cargo fmt --check --all + - run: cargo doc --workspace --no-deps min-version: name: Check mininum Rust version |
