CI: Install only necessary components (#218)

* CI: Install only necessary components
This commit is contained in:
Guilherme Silva
2022-11-24 16:15:13 -03:00
committed by GitHub
parent b4407963ad
commit f2c7e4848e

View File

@@ -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