File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -187,14 +187,15 @@ jobs:
187
187
# This requires rustfmt, use stable.
188
188
- name : Run semver-check
189
189
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 : |
191
196
mkdir mdbook
192
197
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
193
198
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
198
199
- run : cd src/doc && mdbook build --dest-dir ../../target/doc
199
200
- name : Run linkchecker.sh
200
201
run : |
You can’t perform that action at this time.
0 commit comments