Merge branch 'master' of https://git.arcusiridis.com/nova/Actix-Demo
This commit is contained in:
commit
af0a3ce0c5
22
.drone.yml
22
.drone.yml
@ -1,9 +1,23 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: check
|
||||||
image: rust:1.51.0
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
commands:
|
commands:
|
||||||
- cargo build --verbose --all
|
- cargo fmt --all -- --check
|
||||||
- cargo test --verbose --all
|
- cargo check --workspace
|
||||||
|
- name: lint
|
||||||
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
|
commands:
|
||||||
|
- cargo clippy -- -D warnings
|
||||||
|
- name: test
|
||||||
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
|
commands:
|
||||||
|
- cargo test --all
|
||||||
|
- name: package
|
||||||
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
|
depends_on: [check, test, lint]
|
||||||
|
commands:
|
||||||
|
- cargo build --release --all
|
||||||
|
Loading…
Reference in New Issue
Block a user