Skip to content

Commit

Permalink
Merge pull request #50 from jwodder/ci-up
Browse files Browse the repository at this point in the history
Update CI template
  • Loading branch information
jwodder authored Feb 9, 2025
2 parents bde80f8 + dd33f91 commit d8ef88f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
# Use nightly so `partition` gets covered.
toolchain: nightly
components: llvm-tools

Expand Down Expand Up @@ -148,11 +149,11 @@ jobs:
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack

- name: Check code (no tests)
- name: Check code
run: cargo hack --workspace --feature-powerset clippy -- -Dwarnings

- name: Check code (including tests)
run: cargo hack --workspace --feature-powerset clippy --all-targets -- -Dwarnings
- name: Check tests & examples
run: cargo hack --workspace --feature-powerset clippy --tests --examples -- -Dwarnings

- name: Check formatting
run: cargo fmt --all --check
Expand All @@ -175,6 +176,6 @@ jobs:
- name: Check docs
run: cargo doc --workspace --no-deps --all-features
env:
RUSTDOCFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings --cfg docsrs

# vim:set et sts=2:

0 comments on commit d8ef88f

Please sign in to comment.