Deny broken doc intra-links and build docs in CI

This commit is contained in:
Riccardo Casatta 2021-05-03 11:43:48 +02:00
parent ef471ccca7
commit c58446f9c1
No known key found for this signature in database
GPG Key ID: FD986A969E450397
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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;