Skip to content

Commit

Permalink
CI: Fix toolchain install invocation
Browse files Browse the repository at this point in the history
How foolish of me to assume that computers will do the reasonable thing.
  • Loading branch information
YaLTeR committed Nov 4, 2022
1 parent a810f3d commit 33d6e97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Install Rust
run: |
rustup toolchain install --profile minimal ${{ matrix.rust }}
rustup toolchain install ${{ matrix.rust }} --profile minimal
rustup override set ${{ matrix.rust }}
rustup target add ${{ matrix.target }}
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Install Rust
run: |
rustup toolchain install --profile minimal --component clippy stable
rustup toolchain install stable --profile minimal --component clippy
rustup target add ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
Expand All @@ -193,7 +193,7 @@ jobs:

- name: Install Rust
run: |
rustup toolchain install --profile minimal --component rustfmt nightly
rustup toolchain install nightly --profile minimal --component rustfmt
rustup override set nightly
- name: Run rustfmt
Expand Down

0 comments on commit 33d6e97

Please sign in to comment.