Skip to content

Commit 67b123e

Browse files
committed
Make cargo doc fail on warnings in the CI
1 parent 1302e00 commit 67b123e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/hardhat-core-ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ jobs:
295295

296296
- name: Cargo doc
297297
uses: actions-rs/cargo@v1
298+
env:
299+
RUSTDOCFLAGS: "-D warnings"
298300
with:
299301
command: doc
300302
args: --workspace --no-deps --all-features

0 commit comments

Comments
 (0)