diff --git a/.drone.yml b/.drone.yml index 67f01155..1ceb5ef9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,8 @@ steps: - name: cargo-format image: rust:1.64 commands: - - cargo fmt --all -- --check + - rustup component add rustfmt && + cargo fmt --all -- --check environment: CARGO_HOME: /drone/src/.cargo depends_on: @@ -36,7 +37,8 @@ steps: - name: cargo-clippy-ci image: rust:1.64 commands: - - cargo clippy -- -D warnings && + - rustup component add clippy && + cargo clippy -- -D warnings && cargo clippy --features toggle -- -D warnings && cargo clippy --release -- -D warnings && cargo clippy --release --features toggle -- -D warnings diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 21444bc6..00000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,3 +0,0 @@ -[toolchain] -channel = "1.61" # If you change this, you also need to change the Rust image used in the Dockerfile -profile = "default" # Needed for rustfmt and clippy