Use minimal cargo components in CI

This commit is contained in:
teor 2021-04-30 06:47:15 +10:00
parent b52fbae30f
commit ea4d3b23f9
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal
override: true override: true
- name: cargo fetch - name: cargo fetch
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
@ -95,6 +96,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal
override: true override: true
- name: cargo fetch - name: cargo fetch
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
@ -126,6 +128,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal
override: true override: true
- name: Install LLVM on Windows - name: Install LLVM on Windows
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
@ -188,6 +191,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
components: rustfmt
override: true override: true
- run: rustup component add rustfmt - run: rustup component add rustfmt
- name: Show env vars - name: Show env vars