From cfc1332c140d3d59f6de38bb22c4c9945385fe1b Mon Sep 17 00:00:00 2001 From: svartalf Date: Mon, 16 Sep 2019 10:40:48 +0300 Subject: [PATCH] Link to recipes --- .github/FUNDING.yml | 1 + README.md | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..7d37561 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: https://svartalf.info/donate/ diff --git a/README.md b/README.md index 78f2d77..563f973 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# `rustup toolchain` Action +# `rust-toolchain` Action ![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg) [![Gitter](https://badges.gitter.im/actions-rs/community.svg)](https://gitter.im/actions-rs/community) @@ -25,14 +25,24 @@ jobs: with: toolchain: nightly override: true + + # `cargo check` command here will use installed `nightly` + # as it set as an "override" for current directory + + - name: Run cargo check + uses: actions-rs/cargo@v1 + with: + command: check ``` +See [additional recipes here](https://github.com/actions-rs/meta). + ## Inputs * `toolchain` (*required*): Toolchain name, see [rustup page](https://github.com/rust-lang/rustup.rs#toolchain-specification) for details.\ Examples: `stable`, `nightly`, `nightly-2019-04-20` * `target`: Additionally install specific target for this toolchain (ex. `x86_64-apple-darwin`) -* `default`: Set installed toolchain as default (executes `rustup toolchain default {TOOLCHAIN}`) +* `default`: Set installed toolchain as default (executes `rustup toolchain default {toolchain}`) * `override`: Set installed toolchain as an override for current directory ## Components