kind: pipeline type: docker name: default steps: - name: build image: rust:1.68 commands: - cargo build volumes: - name: cargo-cache path: /cache/cargo environment: CARGO_HOME: /cache/cargo CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse - name: test image: rust:1.68 commands: - cargo test --all-features volumes: - name: cargo-cache path: /cache/cargo environment: CARGO_HOME: /cache/cargo CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse depends_on: - build volumes: - name: cargo-cache temp: {}