Optimize Your CI/CD Pipeline
Get instant insights into your CI/CD performance and costs. Reduce build times by up to 45% and save on infrastructure costs.
45% Faster Builds
60% Cost Reduction
Usage
name: build
on: [push]
jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
rust-toolchain-action
This action installs and configures Rust toolchains with support for additional targets, components, and profiles.
What is rust-toolchain-action?β
The rust-toolchain-action
allows you to install Rust toolchains in your CI/CD workflows using rustup
. It supports setting up custom toolchains, installing additional components, and configuring profiles to optimize the installation process.