Skip to content

Commit c1b834f

Browse files
committed
CI: only install necessary components
this is a follow-up to the earlier refactoring which split clippy into its own workflow.
1 parent c91660a commit c1b834f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: dtolnay/rust-toolchain@master
2323
with:
2424
toolchain: ${{ matrix.rust }}
25-
components: rustfmt clippy
25+
components: rustfmt
2626
- name: build
2727
run: cargo build ${{ matrix.features }}
2828
- name: check
@@ -81,7 +81,7 @@ jobs:
8181
- name: install rust toolchain
8282
uses: dtolnay/rust-toolchain@stable
8383
with:
84-
components: rustfmt clippy
84+
components: clippy
8585
- name: Install required cargo components
8686
run: cargo install clippy-sarif sarif-fmt
8787
- name: clippy (lib)

0 commit comments

Comments
 (0)