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 @@ -186,14 +186,15 @@ jobs:
186
186
# This requires rustfmt, use stable.
187
187
- name : Run semver-check
188
188
run : cargo +stable run -p semver-check
189
- - run : |
189
+ - name : Ensure intradoc links are valid
190
+ run : cargo doc --workspace --document-private-items --no-deps
191
+ env :
192
+ RUSTDOCFLAGS : -D warnings
193
+ - name : Install mdbook
194
+ run : |
190
195
mkdir mdbook
191
196
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
192
197
echo `pwd`/mdbook >> $GITHUB_PATH
193
- # TODO: should check all workspace members
194
- - run : cargo doc -p cargo --document-private-items --no-deps
195
- env :
196
- RUSTDOCFLAGS : -D warnings
197
198
- run : cd src/doc && mdbook build --dest-dir ../../target/doc
198
199
- name : Run linkchecker.sh
199
200
run : |
You can’t perform that action at this time.
0 commit comments