diff --git a/.github/workflows/ci-tool-checks.yml b/.github/workflows/ci-tool-checks.yml index 8bcddddf..b6b470e2 100644 --- a/.github/workflows/ci-tool-checks.yml +++ b/.github/workflows/ci-tool-checks.yml @@ -1,4 +1,4 @@ -name: CI - Clippy, Rustfmt, & Tarpaulin +name: CI - Clippy, Rustfmt, Rustdoc, & Tarpaulin on: [pull_request, push] jobs: @@ -48,6 +48,14 @@ jobs: command: fmt args: --all -- --check + - name: Rustdoc + uses: actions-rs/cargo@v1 + with: + command: doc + args: --all --no-deps + env: + RUSTDOCFLAGS: '-D warnings' + - name: Run tarpaulin uses: actions-rs/tarpaulin@v0.1 if: ${{ success() && github.event_name == 'push' }}