Skip to content

Commit 77e82ee

Browse files
committed
ci: ensure intra links for all members are checked
1 parent a4a8bd1 commit 77e82ee

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,15 @@ jobs:
187187
# This requires rustfmt, use stable.
188188
- name: Run semver-check
189189
run: cargo +stable run -p semver-check
190-
- run: |
190+
- name: Ensure intradoc links are valid
191+
run: cargo doc --workspace --document-private-items --no-deps
192+
env:
193+
RUSTDOCFLAGS: -D warnings
194+
- name: Install mdbook
195+
run: |
191196
mkdir mdbook
192197
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
193198
echo `pwd`/mdbook >> $GITHUB_PATH
194-
# TODO: should check all workspace members
195-
- run: cargo doc -p cargo --document-private-items --no-deps
196-
env:
197-
RUSTDOCFLAGS: -D warnings
198199
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
199200
- name: Run linkchecker.sh
200201
run: |

0 commit comments

Comments
 (0)