Skip to content

Commit fdf4345

Browse files
committed
Actually fail CI for doc warnings
1 parent 7890c82 commit fdf4345

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
- staging
88
- trying
99

10+
env:
11+
RUSTFLAGS: -D warnings
12+
RUSTUP_MAX_RETRIES: 10
13+
CARGO_NET_RETRY: 10
14+
1015
jobs:
1116
rust:
1217
name: Rust
@@ -17,11 +22,6 @@ jobs:
1722
matrix:
1823
os: [ubuntu-latest, windows-latest, macos-latest]
1924

20-
env:
21-
RUSTFLAGS: -D warnings
22-
RUSTUP_MAX_RETRIES: 10
23-
CARGO_NET_RETRY: 10
24-
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@v2
@@ -39,11 +39,6 @@ jobs:
3939
name: Docs
4040
runs-on: ubuntu-latest
4141

42-
env:
43-
RUSTFLAGS: -D warnings
44-
RUSTUP_MAX_RETRIES: 10
45-
CARGO_NET_RETRY: 10
46-
4742
steps:
4843
- name: Checkout repository
4944
uses: actions/checkout@v2
@@ -53,6 +48,7 @@ jobs:
5348
with:
5449
toolchain: nightly
5550
profile: minimal
51+
override: true
5652

5753
- name: Rustdoc
58-
run: cargo doc --all-features
54+
run: cargo rustdoc --all-features -- -D warnings

0 commit comments

Comments
 (0)