12 lines
268 B
YAML
12 lines
268 B
YAML
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
|