update check-docs

This commit is contained in:
Eric Sheppard 2022-09-02 22:10:46 +10:00 committed by Dirkjan Ochtman
parent c59235aca2
commit 2474b02198

View File

@ -127,15 +127,9 @@ jobs:
check-docs:
runs-on: ubuntu-latest
name: Check doc links
steps:
- uses: actions/checkout@v2
- name: Install rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Check docs build without warnings
- uses: dtolnay/rust-toolchain@nightly
- run: cargo +nightly doc --all-features --no-deps
env:
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
run: cargo +nightly doc --all-features --no-deps