From fb9a8ca0a6c917e63ff91087381ceb1e3c514d43 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 23 Jan 2024 17:16:04 +0200 Subject: [PATCH] Use matrix toolchain when checking rustdoc --- .github/workflows/check.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 14886845a..77dfac74e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -122,7 +122,10 @@ jobs: continue-on-error: ${{ matrix.rust-toolchain == 'beta' }} - name: Check rustdoc links - run: RUSTDOCFLAGS="--deny rustdoc::broken_intra_doc_links --deny warnings" cargo doc --verbose --workspace --no-deps --document-private-items + run: cargo +${{ matrix.rust-toolchain }} doc --verbose --workspace --no-deps --document-private-items + env: + RUSTDOCFLAGS: "--deny rustdoc::broken_intra_doc_links --deny warnings" + if: success() || failure() - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3