Skip to content

Commit 11aa102

Browse files
committed
Add missing components when installing Rust in CI
1 parent 528ba2b commit 11aa102

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v4
5050
- uses: dtolnay/rust-toolchain@stable
51+
with:
52+
components: rustfmt
5153
- name: Check formatting
5254
run: cargo fmt --all -- --check
5355
Check:
@@ -117,6 +119,8 @@ jobs:
117119
steps:
118120
- uses: actions/checkout@v4
119121
- uses: dtolnay/rust-toolchain@stable
122+
with:
123+
components: clippy
120124
- name: Run Clippy
121125
run: cargo clippy --all-targets --all-features -- -D warnings
122126
CheckExternalTypes:

0 commit comments

Comments
 (0)