diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 264d570756..0dbe473fe1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -391,10 +391,14 @@ jobs: key: ${{ matrix.rust-target }}-${{ matrix.check }} - name: Fmt if: matrix.check == 'fmt' - run: make check-fmt + run: | + rustup component add rustfmt + make check-fmt - name: Clippy if: matrix.check == 'clippy' - run: make check-clippy + run: | + rustup component add clippy + make check-clippy - name: Doc if: matrix.check == 'doc' run: make check-docs diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0b50f42d86..f4ec842f79 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,2 @@ [toolchain] -channel = "1.73.0" -components = [ "rustfmt", "clippy" ] \ No newline at end of file +channel = "1.73.0" \ No newline at end of file