Use stable rust for doc checking in CI

This commit is contained in:
Thom Chiovoloni 2022-01-06 22:36:09 -08:00
parent 325e4c857d
commit f445987bcf

View File

@ -184,11 +184,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
# Need to use `cargo rustdoc` to actually get it to respect -D
# warnings... Note: this also requires nightly.
- run: cargo rustdoc --features 'bundled-full session buildtime_bindgen' -- -D warnings
- uses: Swatinem/rust-cache@v1
with: { sharedKey: fullTests }
- run: cargo doc --features 'bundled-full session buildtime_bindgen' --no-deps
env: { RUSTDOCFLAGS: -Dwarnings }
codecov:
name: Generate code coverage