Skip to content

Commit

Permalink
fail CI on bad docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel5151 committed Feb 12, 2023
1 parent a2b811a commit bf10d34
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
command: clippy
args: --workspace --tests --examples --features=std -- -D warnings

- name: cargo doc
uses: actions-rs/cargo@v1
with:
command: doc
args: --workspace --features=std

# don't forget the no_std example!
- name: cargo clippy (example_no_std)
uses: actions-rs/cargo@v1
Expand All @@ -43,6 +37,11 @@ jobs:
run: ./example_no_std/dump_asm.sh
shell: bash

- name: cargo doc
run: cargo doc --workspace --features=std
env:
RUSTDOCFLAGS: "-Dwarnings"

rustfmt:
name: rustfmt (nightly)
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf10d34

Please sign in to comment.