Skip to content

Commit ec04df5

Browse files
authored
Add clippy run with all features enabled
This should be a low-cost way to identify easily-fixed issues in code that will be missed by standard CI run against only default features
1 parent c440965 commit ec04df5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ jobs:
4444
shell: bash
4545
run: rustup run ${{ matrix.rust }} cargo fmt --all -- --check
4646

47-
- name: Clippy
47+
- name: Clippy (default features)
4848
shell: bash
4949
run: rustup run ${{ matrix.rust }} cargo clippy --all --bins --all-targets --examples --benches --tests -- -D warnings
5050

51+
- name: Clippy (all features)
52+
shell: bash
53+
run: rustup run ${{ matrix.rust }} cargo clippy --all --all-features --bins --all-targets --examples --benches --tests -- -D warnings
54+
5155
- name: Test (release)
5256
shell: bash
5357
run: rustup run ${{ matrix.rust }} cargo test --all --verbose --release

0 commit comments

Comments
 (0)