|
@ -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 |