Skip to content

Commit 9ba790b

Browse files
committed
add compoenent for clippy ci cd
1 parent 0a26832 commit 9ba790b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
components: rustfmt, clippy
2323
targets: wasm32-unknown-unknown
2424

25-
- name: Install rustfmt for nightly toolchain
26-
run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
25+
- name: Install rustfmt and clippy for nightly toolchain
26+
run: |
27+
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
28+
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu clippy
2729
2830
- name: Check formatting
2931
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)