kind: pipeline type: docker name: default steps: - name: test image: rust commands: - rustup component add rustfmt - 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