Skip to content

Commit

Permalink
Use matrix toolchain when checking rustdoc (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Jan 23, 2024
1 parent 1f0694e commit e447eef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e447eef

Please sign in to comment.