File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 4848 - run : rustup override set nightly
4949 - name : Build Docs
5050 run : ./docs.sh
51+ env :
52+ RUSTDOCFLAGS : -Dwarnings
5153 lint :
5254 runs-on : ubuntu-latest
5355 name : Lint
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata=$(cargo metadata --format-version 1 --no-deps | jq '.packages | map(sel
66features=$( echo " $metadata " | jq -r ' .features | join(",")' )
77
88export RUSTDOCFLAGS
9- RUSTDOCFLAGS=$ ( echo " $metadata " | jq -r ' .["rustdoc-args"] | join(" ")' )
9+ RUSTDOCFLAGS=" $RUSTDOCFLAGS $ ( echo " $metadata " | jq -r ' .["rustdoc-args"] | join(" ")' ) "
1010echo " + RUSTDOCFLAGS=$RUSTDOCFLAGS " > /dev/stderr
1111echo " + cargo doc ... --features $features " > /dev/stderr
1212cargo +nightly doc -Zunstable-options -Zrustdoc-scrape-examples --features " $features "
You can’t perform that action at this time.
0 commit comments