Run cargo doc to get warnings about documentation issues
@@ -18,6 +18,20 @@ jobs:
with:
command: fmt
args: --all -- --check
+ doc:
+ name: cargo-doc
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ override: true
+ - uses: actions-rs/cargo@v1
+ with:
+ command: doc
+ args: --no-deps --all-features
msrv:
runs-on: ubuntu-latest
steps:
