Skip to content

Commit

Permalink
Auto merge of #12025 - weihanglo:ci2, r=epage
Browse files Browse the repository at this point in the history
CI: ensure intra links for all members are checked
  • Loading branch information
bors committed Apr 24, 2023
2 parents 9fd2510 + 77e82ee commit e0910a2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,15 @@ jobs:
# This requires rustfmt, use stable.
- name: Run semver-check
run: cargo +stable run -p semver-check
- run: |
- name: Ensure intradoc links are valid
run: cargo doc --workspace --document-private-items --no-deps
env:
RUSTDOCFLAGS: -D warnings
- name: Install mdbook
run: |
mkdir mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.27/mdbook-v0.4.27-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
# TODO: should check all workspace members
- run: cargo doc -p cargo --document-private-items --no-deps
env:
RUSTDOCFLAGS: -D warnings
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
- name: Run linkchecker.sh
run: |
Expand Down

0 comments on commit e0910a2

Please sign in to comment.