All Projects → actions-rs → components-nightly

actions-rs / components-nightly

Licence: MIT license
⚙️ GitHub Action for searching nightly component availability

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to components-nightly

wordpress-skeleton
A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
Stars: ✭ 32 (+52.38%)
Mutual labels:  github-actions
zola-deploy-action
Github action for building a Zola site and deploying to Github Pages
Stars: ✭ 131 (+523.81%)
Mutual labels:  github-actions
django-template
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥
Stars: ✭ 20 (-4.76%)
Mutual labels:  github-actions
bx-github-ci
This tutorial provides one example on how a CI (Continuous Integration) workflow with the IAR Build Tools for Linux can be set up on GitHub. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 20 (-4.76%)
Mutual labels:  github-actions
gatsby-personal-site
My personal site made with Gatsby
Stars: ✭ 31 (+47.62%)
Mutual labels:  github-actions
pytest-github-actions-annotate-failures
Pytest plugin to annotate failed tests with a workflow command for GitHub Actions
Stars: ✭ 58 (+176.19%)
Mutual labels:  github-actions
tarpaulin
📈 GitHub Action for code coverage reporting with tarpaulin
Stars: ✭ 69 (+228.57%)
Mutual labels:  github-actions
BiliTools
支持Docker,青龙面板,以及各种云函数,阿里云,腾讯云,华为云,百度云。
Stars: ✭ 142 (+576.19%)
Mutual labels:  github-actions
branch-protection-bot
A bot tool to disable and re-enable "Include administrators" option in branch protection
Stars: ✭ 57 (+171.43%)
Mutual labels:  github-actions
noise-php
A starter-kit for your PHP project.
Stars: ✭ 52 (+147.62%)
Mutual labels:  github-actions
notionproxy
Notion as a web site, inspired by react-notion-x.
Stars: ✭ 24 (+14.29%)
Mutual labels:  github-actions
PowerPlatform-ALM-With-GitHub-Template
Template repository for the ALM of Power Platform solutions with GitHub
Stars: ✭ 21 (+0%)
Mutual labels:  github-actions
setup-protoc
GitHub Action to setup the protoc compiler for protocol buffers
Stars: ✭ 58 (+176.19%)
Mutual labels:  github-actions
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+561.9%)
Mutual labels:  github-actions
link-snitch
GitHub Action to scan your site for broken links so you can fix them 🔗
Stars: ✭ 50 (+138.1%)
Mutual labels:  github-actions
hasura-action
GitHub Action wrapping the Hasura CLI
Stars: ✭ 39 (+85.71%)
Mutual labels:  github-actions
prettier
🔨 Native, blazingly-fast Prettier CLI on Github Actions
Stars: ✭ 19 (-9.52%)
Mutual labels:  github-actions
pull-request-artifacts
GitHub Action to post build artifacts in PR comments.
Stars: ✭ 23 (+9.52%)
Mutual labels:  github-actions
private-actions-checkout
GitHub Action to make custom private actions easily available to any workflow
Stars: ✭ 62 (+195.24%)
Mutual labels:  github-actions
NextCommunity.github.io
Join FREE: Community of open-source programmers and software engineers.
Stars: ✭ 29 (+38.1%)
Mutual labels:  github-actions

rust-components-nightly Action

MIT licensed Gitter

This GitHub Action finds the latest Rust nightly build with the requested component available.

Deprecation notice

Since actions-rs/toolchain Action is now utilizes rustup ability to find the most recent nightly build with multiple components available, this Action is deprecated now.
Consider removing it from your workflows and use actions-rs/toolchain directly.

For example, instead of

steps:
  - uses: actions/checkout@master
  - id: component
    uses: actions-rs/components-nightly@v1
    with:
      component: clippy
  - uses: actions-rs/toolchain@v1
    with:
        toolchain: ${{ steps.component.outputs.toolchain }}
        override: true

you can now tune actions-rs/toolchain action:

steps:
  - uses: actions/checkout@master
  - uses: actions-rs/toolchain@v1
    with:
        toolchain: nightly
        components: clippy
        override: true

See Components section for more.

This Action will not be updated anymore, but will be leaved as is in order not to break workflows, which are using it already.

Background

Ever had the problem when your nightly build breaks because today nightly does not has the clippy available? With this Action you can find the most recent nightly build with the clippy available.

Found toolchain name will be set as an Action 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 a actions-rs/toolchain Action.

Example workflow

on: [push]

name: nightly clippy

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - id: component
        uses: actions-rs/components-nightly@v1
        with:
          component: clippy
      - uses: actions-rs/toolchain@v1
        with:
            toolchain: ${{ steps.component.outputs.toolchain }}
            override: true

See additional recipes here.

Inputs

Name Required Description Type Default
component Component name to search for string
target Rust target triple (see Target input section below) string host-dependant

Target input

If the target 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

Outputs

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 install rustfmt but call the cargo fmt then) string
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].