21 lines
395 B
YAML
21 lines
395 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust
|
|
commands:
|
|
- cargo fmt --check
|
|
- cargo build --all
|
|
- cargo build --examples --all
|
|
- cargo test --verbose --all
|
|
- cargo clippy
|
|
- name: release
|
|
image: rust
|
|
commands:
|
|
- cargo build
|
|
environment:
|
|
CARGO_REGISTRY_TOKEN:
|
|
from_secret: cargo_registry_token
|