Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description: "Common setup steps for GitHub workflows in the Hyperlight project"

inputs:
rust-toolchain:
description: "(Default: 1.74.0) Rust toolchain specification to install - see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification"
description: "(Default: 1.85.0) Rust toolchain specification to install - see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification"
required: false
default: "1.74.0"
default: "1.85.0"

runs:
using: composite
Expand All @@ -20,7 +20,7 @@ runs:

- uses: extractions/setup-just@v3
with:
just-version: "1.27"
just-version: "1.40"

### Linux setup ###

Expand Down Expand Up @@ -143,6 +143,13 @@ runs:
rustup target add x86_64-unknown-none
shell: bash

# We do this in case there is toolchain skew between repos
- name: Install older rust toolchain(s)
if: ${{ (runner.os == 'Linux') }}
run: |
rustup toolchain install 1.81.0
shell: bash

- name: Set up env vars (Linux)
if: ${{ (runner.os == 'Linux') }}
run: |
Expand Down Expand Up @@ -179,6 +186,12 @@ runs:
rustup target add x86_64-unknown-none
shell: pwsh

- name: Install older rust toolchain(s) (Windows)
if: ${{ (runner.os == 'Windows') }}
run: |
rustup toolchain install 1.81.0
shell: pwsh

- name: Set up env vars (Windows)
if: ${{ (runner.os == 'Windows') }}
run: |
Expand Down