Deny broken doc intra-links and build docs in CI
This commit is contained in:
parent
ef471ccca7
commit
c58446f9c1
|
@ -38,4 +38,19 @@ jobs:
|
|||
override: true
|
||||
- name: Running test script
|
||||
env: ${{ matrix.env }}
|
||||
run: ./contrib/test.sh
|
||||
run: ./contrib/test.sh
|
||||
|
||||
Docs:
|
||||
name: Docs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Crate
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Create Doc
|
||||
run: cargo doc
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#![deny(unused_imports)]
|
||||
#![deny(missing_docs)]
|
||||
#![deny(unused_must_use)]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
|
||||
// Re-exported dependencies.
|
||||
#[macro_use] pub extern crate bitcoin_hashes as hashes;
|
||||
|
|
Loading…
Reference in New Issue