Skip to content

Commit 5af3154

Browse files
authored
Rust 1.85.0 (#8)
* Update just versin to 1.40 Signed-off-by: Mark Rossett <[email protected]> * Install rust v1.85.0 Signed-off-by: Mark Rossett <[email protected]> --------- Signed-off-by: Mark Rossett <[email protected]>
1 parent 89d0625 commit 5af3154

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

action.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: "Common setup steps for GitHub workflows in the Hyperlight project"
55

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

1212
runs:
1313
using: composite
@@ -20,7 +20,7 @@ runs:
2020

2121
- uses: extractions/setup-just@v3
2222
with:
23-
just-version: "1.27"
23+
just-version: "1.40"
2424

2525
### Linux setup ###
2626

@@ -143,6 +143,13 @@ runs:
143143
rustup target add x86_64-unknown-none
144144
shell: bash
145145

146+
# We do this in case there is toolchain skew between repos
147+
- name: Install older rust toolchain(s)
148+
if: ${{ (runner.os == 'Linux') }}
149+
run: |
150+
rustup toolchain install 1.81.0
151+
shell: bash
152+
146153
- name: Set up env vars (Linux)
147154
if: ${{ (runner.os == 'Linux') }}
148155
run: |
@@ -179,6 +186,12 @@ runs:
179186
rustup target add x86_64-unknown-none
180187
shell: pwsh
181188

189+
- name: Install older rust toolchain(s) (Windows)
190+
if: ${{ (runner.os == 'Windows') }}
191+
run: |
192+
rustup toolchain install 1.81.0
193+
shell: pwsh
194+
182195
- name: Set up env vars (Windows)
183196
if: ${{ (runner.os == 'Windows') }}
184197
run: |

0 commit comments

Comments
 (0)