fix(circleci): remove nightly install tools

pull/24376/head
AJ Bond 2020-06-02 10:14:10 -04:00
parent da523ff290
commit 86949a6fc1
No known key found for this signature in database
GPG Key ID: 3041BB878C89EF7D
1 changed files with 4 additions and 11 deletions

View File

@ -2,15 +2,6 @@ version: 2.1
# Adding these commands but need confirmation of cache location # Adding these commands but need confirmation of cache location
commands: commands:
rust_nightly:
description: Install nightly tools
steps:
- run:
name: Install nightly
command: rustup toolchain install nightly
- run:
name: rustup component
command: rustup component add rustfmt clippy
cache_restore: cache_restore:
description: Restore Cargo Cache description: Restore Cargo Cache
steps: steps:
@ -35,7 +26,6 @@ jobs:
- image: quay.io/influxdb/rust:ci - image: quay.io/influxdb/rust:ci
steps: steps:
- checkout - checkout
- rust_nightly
- run: - run:
name: Rust fmt name: Rust fmt
command: cargo fmt --all -- --check command: cargo fmt --all -- --check
@ -44,7 +34,6 @@ jobs:
- image: quay.io/influxdb/rust:ci - image: quay.io/influxdb/rust:ci
steps: steps:
- checkout - checkout
- rust_nightly
- run: - run:
name: Clippy name: Clippy
command: cargo clippy --all-targets --workspace -- -D warnings command: cargo clippy --all-targets --workspace -- -D warnings
@ -54,6 +43,10 @@ jobs:
steps: steps:
- checkout - checkout
- cache_restore - cache_restore
# need to build the dstool binary to use it in tests
- run:
name: Cargo build
command: cargo build --workspace
- run: - run:
name: Cargo test name: Cargo test
command: cargo test --workspace command: cargo test --workspace