Skip to content

Support rust#1779

Merged
taiki-e merged 2 commits into
mainfrom
dev/rust
May 4, 2026
Merged

Support rust#1779
taiki-e merged 2 commits into
mainfrom
dev/rust

Conversation

@taiki-e

@taiki-e taiki-e commented May 4, 2026

Copy link
Copy Markdown
Owner

This installs rust using rustup.

If rustup is not yet installed, this action downloads rustup-init for the current platform using HTTPS with tlsv1.2+, verifies SHA256 checksum, and then installs rustup using it.

This also supports installing additional components at the same time by +<additional> syntax:

- uses: taiki-e/install-action@v2
  with:
    # Install rust stable with rustfmt component and wasm32-wasip1 target.
    tool: rust+rustfmt+wasm32-wasip1
    # When installing another rust version:
    # tool: rust@nightly + rustfmt + wasm32-wasip1

This is a security-enhanced port of taiki-e/github-actions/install-rust.
Closes taiki-e/github-actions#13

@taiki-e taiki-e force-pushed the dev/rust branch 5 times, most recently from 090cc97 to 440a0c2 Compare May 4, 2026 16:33
@taiki-e taiki-e enabled auto-merge (rebase) May 4, 2026 18:00
@taiki-e taiki-e disabled auto-merge May 4, 2026 18:04
@taiki-e taiki-e merged commit ca67a3a into main May 4, 2026
84 checks passed
@taiki-e taiki-e deleted the dev/rust branch May 4, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge install-rust action to install-action

1 participant