-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gilad Chase
committed
Dec 19, 2024
1 parent
d653a24
commit 86f1d2c
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
name: Bootsrap rust installation | ||
name: Bootstrap rust installation | ||
description: Setup rust environment and its components, also caching the build results. | ||
|
||
inputs: | ||
extra-toolchains: | ||
description: "Extra toolchains to install, but aren't used by default" | ||
required: false | ||
default: nightly-2024-04-29 | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
# Install additional non-default toolchains (for rustfmt for example) | ||
- uses: moonrepo/setup-rust@v1 | ||
with: | ||
cache-base: main(-v[0-9].*)? | ||
inherit-toolchain: true | ||
bins: taplo-cli@0.9.0, cargo-machete | ||
channel: nightly-2024-04-29 # Just install for rustfmt, rust-toolchain.toml overrides it. | ||
channel: nightly-2024-04-29 | ||
env: | ||
RUSTFLAGS: "-C link-arg=-fuse-ld=lld" |