Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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