Skip to content

Commit

Permalink
update ci to check for --workspace --all-targets --all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Mar 19, 2024
1 parent c1ae9e8 commit dea4421
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: cargo build
run: cargo b
run: cargo b --workspace --all-targets --all-features

cargo-fmt:
name: Cargo fmt
Expand All @@ -40,7 +40,7 @@ jobs:
components: rustfmt

- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
run: cargo fmt --all --check

cargo-clippy:
name: Cargo clippy
Expand All @@ -56,7 +56,7 @@ jobs:
components: clippy

- name: Clippy Check
run: cargo clippy
run: cargo clippy --workspace --all-targets --all-features -- -Dwarnings

cargo-test:
name: Cargo test
Expand All @@ -70,7 +70,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Cargo test
run: cargo test
run: cargo test --workspace --all-targets --all-features

cargo-miri-test:
name: Cargo miri
Expand All @@ -90,7 +90,7 @@ jobs:
cargo miri setup;
- name: Test with Miri
run: cargo miri test
run: cargo miri test --workspace --all-targets --all-features

typos-cli:
name: typos
Expand Down

0 comments on commit dea4421

Please sign in to comment.