Skip to content

Commit 626473f

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v4
5050
- uses: dtolnay/rust-toolchain@stable
51+
components: rustfmt
5152
- name: Check formatting
5253
run: cargo fmt --all -- --check
5354
Check:
@@ -117,6 +118,7 @@ jobs:
117118
steps:
118119
- uses: actions/checkout@v4
119120
- uses: dtolnay/rust-toolchain@stable
121+
components: clippy
120122
- name: Run Clippy
121123
run: cargo clippy --all-targets --all-features -- -D warnings
122124
CheckExternalTypes:

0 commit comments

Comments
 (0)