From f445987bcf5a46812df80ee3b4031f2adc2861e8 Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Thu, 6 Jan 2022 22:36:09 -0800 Subject: [PATCH] Use stable rust for doc checking in CI --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1071ba..56c1f56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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