Skip to content

Commit

Permalink
Stop installing Rust toolchains, rely on them to be installed in the …
Browse files Browse the repository at this point in the history
…Docker images (#227)
  • Loading branch information
Luni-4 authored Jun 26, 2020
1 parent 2d75c2d commit c1f7ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
language: system
files: '\.rs$'
exclude: '.*/templates/.*\.rs$'
entry: rustup run stable rustfmt --edition 2018
entry: cargo fmt -- --check --verbose

- id: clippy
name: clippy
Expand Down
9 changes: 2 additions & 7 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ tasks:
- "/bin/bash"
- "-cx"
- "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py &&
rustup toolchain install stable &&
rustup default stable &&
rustup component add clippy &&
rustup component add rustfmt &&
rustup component add clippy rustfmt &&
git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
Expand Down Expand Up @@ -93,7 +90,7 @@ tasks:
workerType: ci
payload:
maxRunTime: 3600
image: "rust:buster"
image: "rustlang/rust:nightly"
env:
CODECOV_TOKEN: 4df01912-087e-489a-be28-25aa911cb9d2
CARGO_INCREMENTAL: 0
Expand All @@ -104,8 +101,6 @@ tasks:
- "-cx"
- "apt-get -qq update &&
apt-get -qq install -y zip &&
rustup toolchain install nightly &&
rustup default nightly &&
curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf - &&
git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
Expand Down

0 comments on commit c1f7ccc

Please sign in to comment.