Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-down-circle

GitHub Action

rust-cargo-make

v1.2.0

rust-cargo-make

arrow-down-circle

rust-cargo-make

Install `cargo-make` by downloading the executable (faster than `cargo install cargo-make`, seconds vs minutes)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: rust-cargo-make

uses: davidB/rust-cargo-make@v1.2.0

Learn more about this action in davidB/rust-cargo-make

Choose a version

rust-cargo-make action

Install cargo-make by downloading the executable (faster than cargo install cargo-make, seconds vs minutes).

Inputs

version

Optional version of cargo-make to install (eg. "0.22.2", "latest").

Example usage

    - uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        override: true
    - uses: davidB/rust-cargo-make@v1
    - uses: actions/checkout@v1
    - name: Run tests
      run: cargo make ci-flow
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        override: true
    - uses: davidB/rust-cargo-make@v1
      with:
        version: '0.23.0'
    - uses: actions/checkout@v1
    - name: Run tests
      run: cargo make ci-flow