Skip to content

Commit 5c4cb21

Browse files
authored
Clippy workflow also needs rustfmt to be installed (#3779)
1 parent aafae1f commit 5c4cb21

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/clippy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
run: rustup target add x86_64-pc-windows-msvc
2727
- name: Install clippy
2828
run: rustup component add clippy
29+
- name: Install rustfmt
30+
run: rustup component add rustfmt
2931
- name: Fix environment
3032
uses: ./.github/actions/fix-environment
3133
with:

crates/tools/yml/src/clippy.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
run: rustup target add x86_64-pc-windows-msvc
3030
- name: Install clippy
3131
run: rustup component add clippy
32+
- name: Install rustfmt
33+
run: rustup component add rustfmt
3234
- name: Fix environment
3335
uses: ./.github/actions/fix-environment
3436
with:

0 commit comments

Comments
 (0)