Skip to content

Commit

Permalink
Run rustdoc as part of tool checks.
Browse files Browse the repository at this point in the history
Part of #241.
  • Loading branch information
iliekturtles committed Feb 16, 2021
1 parent 8a4883b commit 3347bca
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-tool-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - Clippy, Rustfmt, & Tarpaulin
name: CI - Clippy, Rustfmt, Rustdoc, & Tarpaulin
on: [pull_request, push]

jobs:
Expand Down Expand Up @@ -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/[email protected]
if: ${{ success() && github.event_name == 'push' }}
Expand Down

0 comments on commit 3347bca

Please sign in to comment.