Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3
⚙️ GitHub Action for searching nightly component availability
License
actions-rs/components-nightly
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This GitHub Action finds the latest Rust nightly buildwith the requestedcomponent available.
Sinceactions-rs/toolchain
Action is now utilizesrustup
ability to find the most recentnightly
buildwithmultiple components available, this Action is deprecated now.
Consider removing it from your workflows and useactions-rs/toolchain
directly.
For example, instead of
steps: -uses:actions/checkout@master -id:componentuses:actions-rs/components-nightly@v1with:component:clippy -uses:actions-rs/toolchain@v1with:toolchain:${{ steps.component.outputs.toolchain }}override:true
you can now tuneactions-rs/toolchain
action:
steps: -uses:actions/checkout@master -uses:actions-rs/toolchain@v1with:toolchain:nightlycomponents:clippyoverride:true
SeeComponents section for more.
This Action will not be updated anymore, but will be leaved as isin order not to break workflows, which are using it already.
Ever had the problem when your nightly build breaks because todaynightly
does not has theclippy
available? With this Action you can find the most recentnightly
build with the clippy available.
Found toolchain name will be set as anAction output,ex.nightly-2019-09-13-x86_64-unknown-linux-gnu
.
Note that this Action does not do anything else with the found toolchain,you need to install it / set as an override manually, for example,with aactions-rs/toolchain
Action.
on:[push]name:nightly clippyjobs:lint:runs-on:ubuntu-lateststeps: -uses:actions/checkout@master -id:componentuses:actions-rs/components-nightly@v1with:component:clippy -uses:actions-rs/toolchain@v1with:toolchain:${{ steps.component.outputs.toolchain }}override:true
Name | Required | Description | Type | Default |
---|---|---|---|---|
component | ✓ | Component name to search for | string | |
target | Rust target triple (seeTarget input section below) | string | host-dependant |
If thetarget
input is omitted, default target triple for the current host will be used:
Virtual environment | Target triple |
---|---|
windows-latest /windows-2019 | x86_64-pc-windows-msvc |
windows-2016 | x86_64-pc-windows-msvc |
ubuntu-latest /ubuntu-18.04 | x86_64-unknown-linux-gnu |
ubuntu-16.04 | x86_64-unknown-linux-gnu |
macOS-latest /macOS-10.14 | x86_64-apple-darwin |
Name | Description | Type |
---|---|---|
toolchain | Most recent nightly toolchain name with the requested component available,ex.nightly-2019-09-13-x86_64-unknown-linux-gnu | string |
command | Cargo command to call this component (might be useful when you need to installrustfmt but call thecargo fmt then) | string |
About
⚙️ GitHub Action for searching nightly component availability
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.