peach-workspace/.drone.yml
glyph 5a95ade8b9
All checks were successful
continuous-integration/drone/pr Build is passing
only run ci on pull request and add docs to readme [CI SKIP]
2022-04-15 10:38:12 +02:00

34 lines
460 B
YAML

kind: pipeline
type: docker
name: test-on-amd64
platform:
arch: amd64
steps:
- name: rustfmt
image: rust:buster
commands:
- rustup component add rustfmt
- cargo fmt --check
- name: clippy
image: rust:buster
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- name: test
image: rust:buster
commands:
- cargo test
- name: build
image: rust:buster
commands:
- cargo build
trigger:
event:
- pull_request