Skip to content

Commit

Permalink
build: ensure CI checks enable all features (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno authored Jul 18, 2024
1 parent 6073a5f commit 646fdff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,17 @@ jobs:
run: cargo fmt --check --all

- name: Check
run: cargo check --all-targets
run: cargo check --all-features --all-targets

- name: Deny check
run: |
set -euo pipefail
cargo binstall --no-confirm --force cargo-deny
cargo deny check
cargo deny --all-features check all
- name: Clippy check
if: matrix.rust-version == 'stable'
run: cargo clippy --all-targets
run: cargo clippy --all-features --all-targets

benchmark:
if: github.event_name == 'pull_request'
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
}
},
"rust-analyzer.check.command": "clippy",
"rewrap.wrappingColumn": 90
"rewrap.wrappingColumn": 90,
"rust-analyzer.cargo.features": "all"
}

0 comments on commit 646fdff

Please sign in to comment.