👷 add drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-10 13:02:38 -05:00
parent e47b088f90
commit b36548608e

16
.drone.yml Normal file
View File

@ -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