CI: Install only necessary components (#218)
* CI: Install only necessary components
This commit is contained in:
6
.github/workflows/check-and-lint.yaml
vendored
6
.github/workflows/check-and-lint.yaml
vendored
@@ -23,8 +23,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: '${{ env.RUST_VER }}'
|
||||
targets: ${{ matrix.target }}
|
||||
components: clippy, rustfmt
|
||||
components: rustfmt
|
||||
|
||||
- name: Run cargo fmt
|
||||
run: |
|
||||
@@ -72,8 +71,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: '${{ env.RUST_VER }}'
|
||||
targets: ${{ matrix.target }}
|
||||
components: clippy, rustfmt
|
||||
components: clippy
|
||||
|
||||
- name: Setup Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
Reference in New Issue
Block a user