Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Chase committed Dec 19, 2024
1 parent d653a24 commit bb4e8c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ runs:
shell: bash
- name: Install rust.
uses: ./.github/actions/install_rust
with:
extra-toolchains: nightly-2024-04-29
- name: Install cairo native.
uses: ./.github/actions/setup_native_deps
11 changes: 9 additions & 2 deletions .github/actions/install_rust/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
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

runs:
using: "composite"
steps:
Expand All @@ -9,6 +14,8 @@ runs:
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.
# Just install for rustfmt, rust-toolchain.toml overrides it.
if: ${{ env.EXTRA_TOOLCHAINS }}
channel: ${{ env.EXTRA_TOOLCHAINS }}
env:
RUSTFLAGS: "-C link-arg=-fuse-ld=lld"

0 comments on commit bb4e8c1

Please sign in to comment.