Skip to content

Commit 62b35f5

Browse files
authored
fix(ci): add explicit components to rust workflow (#210)
1 parent 68c2a4a commit 62b35f5

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
steps:
1919
- uses: actions/checkout@v4
2020
- uses: dtolnay/rust-toolchain@stable
21+
with:
22+
components: rustfmt
2123
- name: Check formatting
2224
run: cargo fmt -- --check
2325

@@ -28,6 +30,8 @@ jobs:
2830
steps:
2931
- uses: actions/checkout@v4
3032
- uses: dtolnay/rust-toolchain@stable
33+
with:
34+
components: clippy
3135
- name: Check Clippy lints
3236
run: cargo clippy --all-targets --all-features
3337

0 commit comments

Comments
 (0)