Skip to content

Commit

Permalink
Update CI to catch doc warnings, fix other issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TehPers committed Aug 19, 2024
1 parent 235f1ca commit 6da8719
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings

jobs:
format:
Expand Down Expand Up @@ -34,7 +36,9 @@ jobs:
- name: Setup toolchain
uses: dtolnay/rust-toolchain@clippy
- name: Run clippy
run: cargo clippy --tests -- -D warnings
run: cargo clippy --tests --all-features
- name: Check docs for errors
run: cargo doc --no-deps --all-features ${{matrix.flags}}

test:
name: Test (${{ matrix.name }})
Expand Down Expand Up @@ -62,4 +66,4 @@ jobs:
toolchain: nightly
components: rustfmt
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose ${{matrix.flags}}

0 comments on commit 6da8719

Please sign in to comment.