Skip to content

Commit

Permalink
ci: turn doc warnings into errors (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackaugusto authored Mar 5, 2024
1 parent ba25321 commit 96f4a8b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,14 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: doc
args: ${{matrix.args}}
args:
- name: Check docs
uses: actions-rs/cargo@v1
env:
RUSTDOCFLAGS: -D warnings
with:
command: doc
args: --verbose --keep-going ${{matrix.args}}

test:
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}}
Expand Down

0 comments on commit 96f4a8b

Please sign in to comment.