From 2763105d390d1dd509c7a6c9e6013b2a1fce4c97 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 24 Sep 2023 10:53:40 -0700 Subject: [PATCH] Test docs.rs documentation build in CI --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1b84d5..13bab49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,20 @@ jobs: - run: cargo bench --no-run if: matrix.rust == 'nightly' + doc: + name: Documentation + needs: pre_ci + if: needs.pre_ci.outputs.continue + runs-on: ubuntu-latest + timeout-minutes: 45 + env: + RUSTDOCFLAGS: -Dwarnings + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/install@cargo-docs-rs + - run: cargo docs-rs + miri: name: Miri needs: pre_ci