Skip to content

Commit 2489a6f

Browse files
committed
ci: add clippy check
1 parent fffd2ed commit 2489a6f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/check-rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
- name: cargo fmt
7272
run: cargo fmt --check --all
7373

74-
# runs cargo check --workspace
75-
cargo-check:
76-
name: cargo check
74+
# runs cargo clippy --workspace --all-targets --all-features
75+
cargo-clippy:
76+
name: cargo clippy
7777
runs-on: SubtensorCI
7878
strategy:
7979
matrix:
@@ -117,8 +117,8 @@ jobs:
117117
with:
118118
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
119119

120-
- name: cargo check --workspace
121-
run: cargo check --workspace
120+
- name: cargo clippy --workspace --all-targets --all-features
121+
run: cargo clippy --workspace --all-targets --all-features
122122

123123
# runs cargo test --workspace
124124
cargo-test:

0 commit comments

Comments
 (0)