Implement action.

This commit is contained in:
Miles Johnson 2023-04-15 16:57:29 -07:00
parent 64b680ddd8
commit c3ef13296b
6 changed files with 192 additions and 175 deletions

View file

@ -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
```