Skip to content

Commit 6689bbb

Browse files
committed
Deny warnings
1 parent 6eff86f commit 6689bbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
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

docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata=$(cargo metadata --format-version 1 --no-deps | jq '.packages | map(sel
66
features=$(echo "$metadata" | jq -r '.features | join(",")')
77

88
export RUSTDOCFLAGS
9-
RUSTDOCFLAGS=$(echo "$metadata" | jq -r '.["rustdoc-args"] | join(" ")')
9+
RUSTDOCFLAGS="$RUSTDOCFLAGS $(echo "$metadata" | jq -r '.["rustdoc-args"] | join(" ")')"
1010
echo "+ RUSTDOCFLAGS=$RUSTDOCFLAGS" > /dev/stderr
1111
echo "+ cargo doc ... --features $features" > /dev/stderr
1212
cargo +nightly doc -Zunstable-options -Zrustdoc-scrape-examples --features "$features"

0 commit comments

Comments
 (0)