diff options
-rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
-rw-r--r-- | rust-toolchain.toml | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ae120daf..c1d09b4c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,12 +87,6 @@ jobs: - uses: dtolnay/rust-toolchain@stable - - name: Install clippy and rustfmt - if: matrix.job == 'lint' - run: | - rustup component add clippy - rustup component add rustfmt - - name: Install Deno if: matrix.job == 'lint' run: | diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 60883f424..7bdffcd28 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] channel = "1.59.0" +components = ["rustfmt", "clippy"] |