Skip to content

Rust

Overview

Steps for building and testing with Golang.

Tools Section

Name Required Type Default Description
buildImage Required String Docker image containg tools for Rust.
additionalArgs List A list of additional flags to send to the cargo command.
components List Additional rustup components to install.
command String build Which cargo command to execute.

Available Methods

cargo

Create a Pull Request in GitHub.

Name Type Default Description
buildImage String Docker image containg tools for Rust.
additionalArgs List A list of additional flags to send to the cargo command.
components List Additional rustup components to install.
command String build Which cargo command to execute.

cargo Example

branches:
  feature:
    steps:
      - rust:
          # Simple
          - cargo:
          # Advanced
          - cargo:
              command: build
              title: Fix for issue {{ branch_name }}.

Full Example Pipeline

pipelines:
  tools:
    branches:
      patterns:
        feature: .+
  branches:
    feature:
      steps:
        - rust:
          - cargo:
              command: build

Additional Resources