diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-03-17 21:54:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 21:54:24 +0530 |
commit | 3c4750097516fa9c0aa50cf57952221fd50528e7 (patch) | |
tree | 2caec7476fc9cbc5c6e42b910e1b8961017da412 | |
parent | fce60f2cc20bda8403fc7577c086759744314561 (diff) |
chore: add Rust toolchain components (#14004)
-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"] |