Skip to content

Commit

Permalink
Make cargo doc fail on warnings in CI (#520)
Browse files Browse the repository at this point in the history
The warnings weren't causing the CI step to fail as desired.
  • Loading branch information
rj00a authored Sep 4, 2023
1 parent 27a37a1 commit 22aa63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libclang-dev libgtk-3-dev

- name: Validate documentation
run: cargo doc --workspace --no-deps --all-features --document-private-items
run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features --document-private-items

typos:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 22aa63d

Please sign in to comment.