mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-20 01:28:43 +00:00
A maintained GitHub action for setting up Rust and Cargo.
.github/workflows | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
action.yml | ||
CHANGELOG.md | ||
index.ts | ||
package.json | ||
pnpm-lock.yaml | ||
prettier.config.js | ||
README.md | ||
tsconfig.json |
Setup Rust
A GitHub action for setting up Rust and Cargo. Will automatically install the appropriate toolchain
with rustup
by inspecting the RUSTUP_TOOLCHAIN
environment variable or the rust-toolchain.toml
configuration file.
Installation
# ...
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
# ...
- uses: moonrepo/setup-rust@v0
- run: cargo test