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