add drone CI cfg
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Johannes Heuel
2022-09-17 18:59:03 +02:00
parent a4a84844fa
commit ff2b4b2598
2 changed files with 17 additions and 8 deletions

11
.drone.yml Normal file
View File

@@ -0,0 +1,11 @@
kind: pipeline
type: docker
name: default
steps:
- name: pre-commit
image: iamthefij/drone-pre-commit:latest
commands:
- curl https://sh.rustup.rs -sSf | bash -s -- -y
- export PATH="/root/.cargo/bin:$${PATH}"
- pre-commit run --all-files