Skip to content

Commit 0a26832

Browse files
committed
add toolchain component for cargo fmt
1 parent c743480 commit 0a26832

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ 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
27+
2528
- name: Check formatting
2629
run: cargo fmt --all -- --check
2730

0 commit comments

Comments
 (0)