From adc60db7a8c9ccda5a45e5b3a6c06a1a82f8dc25 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Wed, 27 Oct 2021 18:27:31 -0700 Subject: [PATCH] Check for doc warnings in CI --- .github/workflows/rust.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d0a22a7..c1f3030 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -51,6 +51,11 @@ jobs: command: fmt args: --all -- --check + - name: doc + run: cargo doc --no-deps + env: + RUSTDOCFLAGS: -Dwarnings + - uses: actions-rs/cargo@v1 if: always() with: