diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d98c577c..7f73aed6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,9 +17,9 @@ jobs: uses: actions/checkout@v3 - name: Install stable toolchain - run: rustup toolchain install 1.70 - - name: Install clippy like the error says to install it - run: rustup component add clippy --toolchain 1.70 + run: | + rustup toolchain install 1.70 --profile default --no-self-update + rustup component add clippy --toolchain 1.70 - name: Install nightly toolchain (for rustfmt only) run: rustup toolchain install nightly --profile minimal --component rustfmt