feat: allow selecting the nightly toolchain

This commit is contained in:
Paul Campbell 2024-09-16 16:18:49 +01:00
parent e931692d33
commit dbe6a60417
2 changed files with 55 additions and 4 deletions

View file

@ -14,12 +14,22 @@ jobs:
steps:
- uses: https://git.kemitix.net/kemitix/rust@v1.80.0
with:
args: cargo test
args: nightly cargo test
- uses: https://git.kemitix.net/kemitix/rust@v1.80.0
with:
args: cargo build
args: v1.79.0 cargo build
```
The `args` is one of the following:
- <COMMAND>
- [ [nightly | stable | v1.xx.x] ] <COMMAND>
`COMMAND` is the command you want to run. The optional prefix is the Rust toolchain, or version. Allowed values are `nightly`, `stable` or a Rust version.
Where the optional prefix is not given, the `stable` toolchain will be used.
## Contents
- nodejs