mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2025-01-30 12:32:33 +00:00
Fail CI on bad intradoc links
I'm looking at extending the docs and want to make sure I don't introduce a bad link. It looks like - CI won't fail on bad intradoc links - We can't get it to with the `cargo` action So dropping down to the shell to make sure bad links error, instead of warn.
This commit is contained in:
parent
7c090982ab
commit
074fd29705
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -135,10 +135,9 @@ jobs:
|
||||
override: true
|
||||
|
||||
- name: Build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: doc
|
||||
args: --verbose --features "std docsrs"
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
run: cargo doc --no-deps --document-private-items --workspace --verbose --features "std docsrs"
|
||||
|
||||
fmt:
|
||||
name: Check formatting
|
||||
|
Loading…
x
Reference in New Issue
Block a user