You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
561 B
23 lines
561 B
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: check
|
|
image: guangie88/rustfmt-clippy:1.51.0-stable
|
|
commands:
|
|
- cargo fmt --all -- --check
|
|
- 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
|