Skip to content

Commit

Permalink
Actually fail CI for doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 committed Mar 26, 2020
1 parent 7890c82 commit fdf4345
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
- staging
- trying

env:
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
CARGO_NET_RETRY: 10

jobs:
rust:
name: Rust
Expand All @@ -17,11 +22,6 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

env:
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
CARGO_NET_RETRY: 10

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -39,11 +39,6 @@ jobs:
name: Docs
runs-on: ubuntu-latest

env:
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
CARGO_NET_RETRY: 10

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -53,6 +48,7 @@ jobs:
with:
toolchain: nightly
profile: minimal
override: true

- name: Rustdoc
run: cargo doc --all-features
run: cargo rustdoc --all-features -- -D warnings

0 comments on commit fdf4345

Please sign in to comment.