From 75039778debfe31b2c9549b63bddb455afcb754b Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Wed, 28 Apr 2021 16:37:04 +0530 Subject: [PATCH] update drone yaml --- .drone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 75b0ce5..1409655 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,20 +6,18 @@ steps: - name: check image: guangie88/rustfmt-clippy:1.51.0-stable commands: + - cargo fmt --all -- --check - cargo check --workspace - name: lint image: guangie88/rustfmt-clippy:1.51.0-stable - depends_on: [check] commands: - - cargo fmt --all -- --check - cargo clippy -- -D warnings - name: test image: guangie88/rustfmt-clippy:1.51.0-stable - depends_on: [check] commands: - - cargo test --verbose --all + - cargo test --all - name: package image: guangie88/rustfmt-clippy:1.51.0-stable - depends_on: [test, lint] + depends_on: [check, test, lint] commands: - - cargo build --verbose --all + - cargo build --release --all