A maintained GitHub action for setting up Rust and Cargo.
Find a file
2023-04-16 14:37:39 -07:00
.github/workflows Update action. 2023-04-15 17:11:10 -07:00
.eslintignore Scaffold files. 2023-04-15 14:12:44 -07:00
.eslintrc.js Scaffold files. 2023-04-15 14:12:44 -07:00
.gitignore Scaffold files. 2023-04-15 14:12:44 -07:00
action.yml Update description. 2023-04-16 14:37:39 -07:00
CHANGELOG.md Implement action. 2023-04-15 16:57:29 -07:00
index.ts Install binstall by downloading. 2023-04-16 14:35:54 -07:00
package.json Install binstall by downloading. 2023-04-16 14:35:54 -07:00
pnpm-lock.yaml Install binstall by downloading. 2023-04-16 14:35:54 -07:00
prettier.config.js Scaffold files. 2023-04-15 14:12:44 -07:00
README.md Implement action. 2023-04-15 16:57:29 -07:00
tsconfig.json Scaffold files. 2023-04-15 14:12:44 -07:00

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