Skip to content

Commit 2636cc9

Browse files
committed
Install rustfmt & clippy explicitly in CI
1 parent f59b6e9 commit 2636cc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: Install llvm
1919
run: sudo apt update && sudo apt install -y clang llvm clang-format lld
2020
- uses: actions-rust-lang/setup-rust-toolchain@v1
21+
with:
22+
components: rustfmt, clippy
2123
- name: Prepare, build, test, clippy, format
2224
run: make prepare build test clippy fmt
2325
- name: git diff
@@ -45,5 +47,7 @@ jobs:
4547
- name: Install latest llvm & lld
4648
run: brew install llvm lld
4749
- uses: actions-rust-lang/setup-rust-toolchain@v1
50+
with:
51+
components: rustfmt, clippy
4852
- name: Prepare, build, test, clippy
4953
run: make prepare build test clippy

0 commit comments

Comments
 (0)