actions-rs
Unofficial and widely adopted GitHub Actions toolkit for Rust programming language.
Making the Rust CI/CD process an easy thing!
đ ī¸ toolchain
Install specific Rust toolchain. It supports additional targets, components and profiles and hides all the small papercuts.
- name: Stable with rustfmt and clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
đĻ cargo
Run specified cargo command.
Can also install and call cross instead
for easier cross-compilation.
- name: Release build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
âŠī¸ install
Faster binary crates installation. One second in the best case scenario.
- name: Install cargo-audit binary crate
uses: actions-rs/install@v0.1
with:
crate: cargo-audit
version: latest
use-tool-cache: true
đ clippy-check
Annotate commits and Pull Requests with clippy warnings.
- name: Annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
đĄī¸ audit-check
Perform an audit for dependencies with security vulnerabilities.
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
đī¸ī¸ Sponsoring
actions-rs powers up CI/CD process for many repositories, from small personal projects to big and complicated commercial tools.
It is an open-source project developed in a spare time.
If you want to support author or to speed up the development,
consider funding ongoing project work with these shiny buttons:
â Buy me a coffee Become a patron Other convenient options