update drone yaml
This commit is contained in:
parent
0e5b787657
commit
75039778de
10
.drone.yml
10
.drone.yml
@ -6,20 +6,18 @@ steps:
|
|||||||
- name: check
|
- name: check
|
||||||
image: guangie88/rustfmt-clippy:1.51.0-stable
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
commands:
|
commands:
|
||||||
|
- cargo fmt --all -- --check
|
||||||
- cargo check --workspace
|
- cargo check --workspace
|
||||||
- name: lint
|
- name: lint
|
||||||
image: guangie88/rustfmt-clippy:1.51.0-stable
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
depends_on: [check]
|
|
||||||
commands:
|
commands:
|
||||||
- cargo fmt --all -- --check
|
|
||||||
- cargo clippy -- -D warnings
|
- cargo clippy -- -D warnings
|
||||||
- name: test
|
- name: test
|
||||||
image: guangie88/rustfmt-clippy:1.51.0-stable
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
depends_on: [check]
|
|
||||||
commands:
|
commands:
|
||||||
- cargo test --verbose --all
|
- cargo test --all
|
||||||
- name: package
|
- name: package
|
||||||
image: guangie88/rustfmt-clippy:1.51.0-stable
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
||||||
depends_on: [test, lint]
|
depends_on: [check, test, lint]
|
||||||
commands:
|
commands:
|
||||||
- cargo build --verbose --all
|
- cargo build --release --all
|
||||||
|
Loading…
Reference in New Issue
Block a user