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 3862b01 + 77e82ee commit 76e498f
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 @@ -186,14 +186,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 76e498f

Please sign in to comment.