CI: Check intra-doc links

Credit: https://twitter.com/tomaka17/status/1176017851410526208
This commit is contained in:
Jack Grigg
2019-09-24 10:31:04 +01:00
parent 1d02363752
commit d9a0b9c83f
9 changed files with 37 additions and 0 deletions

View File

@@ -39,3 +39,18 @@ jobs:
run: $HOME/.cargo/bin/cargo test --verbose --release --all
- name: Run slow tests
run: $HOME/.cargo/bin/cargo test --verbose --release --all -- --ignored
doc-links:
name: Check intra-doc links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: doc
args: --document-private-items