From b36548608eb93f886b30550dcc1376861d15f4aa Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 10 Dec 2022 13:02:38 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e7917c1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: test + image: rust:1.65 + commands: + # Format + - rustup component add rustfmt + - cargo fmt --verbose --all -- --check + # Lint + - rustup component add clippy + - cargo clippy --verbose --all -- -D warnings + # Test + - cargo test --verbose --all