Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

install-rust

Note

This action has been replaced by taiki-e/install-action.

[Deprecated] GitHub Action for installing Rust toolchain.

There is no stability guarantee for this action, since it's supposed to only be used in infra managed by us.

Usage

See action.yml

- uses: taiki-e/github-actions/install-rust@main
  with:
    # Default toolchain to install.
    toolchain: stable
    # Components to add (comma-separated), default is empty.
    component: rustfmt,clippy
    # Targets to add (comma-separated), default is empty.
    target: x86_64-unknown-linux-musl

Equivalent to:

- uses: taiki-e/install-action@v2
  with:
    tool: rust@stable + rustfmt + clippy + x86_64-unknown-linux-musl