From c93d52cc8a8fd4aafcdbe13c0684d9ddec68ef90 Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Sat, 3 Sep 2022 17:58:16 +0300 Subject: Fix cargo doc warnings, and add GitHub action to ensure it (#3650) --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a1950df..ef47a277 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,6 +103,14 @@ jobs: command: clippy args: --all-targets -- -D warnings + - name: Run cargo doc + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps --workspace --document-private-items + env: + RUSTDOCFLAGS: -D warnings + docs: name: Docs runs-on: ubuntu-latest -- cgit v1.2.3-70-g09d2