Add CI config

master
Rasmus Rosengren 3 years ago
parent 2f404f3646
commit 4ac84a774b
Signed by: rsrp
GPG Key ID: A13BC7BC4F81CF5F
  1. 29
      .drone.yml

@ -0,0 +1,29 @@
---
kind: pipeline
type: docker
name: CI
steps:
- name: cargo check
image: rust
commands:
- cargo check
- name: cargo test
image: rust
commands:
- cargo test
- name: cargo format
image: rust
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: cargo clippy
image: rust
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
---
kind: signature
hmac: cafc615f6f2200498f0bfe7eca9f3860537b7a8319f556dda9ff0565c8ead36c
...
Loading…
Cancel
Save