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