Actix-Demo/.drone.yml

24 lines
564 B
YAML
Raw Normal View History

2021-04-28 10:20:18 +00:00
---
2021-04-27 17:25:42 +00:00
kind: pipeline
name: default
steps:
2021-04-28 10:20:18 +00:00
- name: check
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo check --workspace
- name: lint
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo fmt --all -- --check
- cargo clippy -- -D warnings
2021-04-27 17:25:42 +00:00
- name: test
2021-04-28 10:20:18 +00:00
image: guangie88/rustfmt-clippy:1.51.0-stable
2021-04-27 17:25:42 +00:00
commands:
- cargo test --verbose --all
2021-04-28 10:20:18 +00:00
- name: package
image: guangie88/rustfmt-clippy:1.51.0-stable
2021-04-28 10:46:57 +00:00
depends_on: [test, lint]
2021-04-28 10:20:18 +00:00
commands:
- cargo build --verbose --all