Skip to content

Commit a2a6939

Browse files
committed
Fix CI problem
1 parent 9623141 commit a2a6939

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ jobs:
8585
components: rust-src
8686
target: ${{ matrix.target.triple }}
8787
- name: Check
88-
run: cargo +nightly clippy --all-features --all-targets --target ${{ matrix.target.triple }}
88+
run: cargo +nightly clippy --all-features --target ${{ matrix.target.triple }}
89+
- name: Check benches
90+
run: cargo +nightly clippy --benches --no-default-features --features bench --target ${{ matrix.target.triple }}
8991
- name: Test (no features)
9092
if: matrix.target.runner-can-execute
9193
run: cargo +nightly test --no-default-features --target ${{ matrix.target.triple }}

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ jobs:
7777
toolchain: stable
7878
target: ${{ matrix.target.triple }}
7979
- name: Check
80-
run: cargo +nightly clippy --all-features --all-targets --target ${{ matrix.target.triple }}
80+
run: cargo +nightly clippy --all-features --target ${{ matrix.target.triple }}
81+
- name: Check benches
82+
run: cargo +nightly clippy --benches --no-default-features --features bench --target ${{ matrix.target.triple }}
8183
- name: Test (no features)
8284
if: matrix.target.runner-can-execute
8385
run: cargo +nightly test --no-default-features --target ${{ matrix.target.triple }}

0 commit comments

Comments
 (0)