mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 21:40:01 +00:00
Implement action.
This commit is contained in:
parent
64b680ddd8
commit
c3ef13296b
6 changed files with 192 additions and 175 deletions
18
README.md
18
README.md
|
@ -1 +1,19 @@
|
|||
# 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
|
||||
|
||||
```yaml
|
||||
# ...
|
||||
jobs:
|
||||
ci:
|
||||
name: CI
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# ...
|
||||
- uses: moonrepo/setup-rust@v0
|
||||
- run: cargo test
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue