Skip to content

Commit 62d1c5d

Browse files
committed
Use rustup in build matrix workflows
1 parent f67a22b commit 62d1c5d

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/_build-binaries.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v4
5050

51-
- uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a
52-
with:
53-
toolchain: stable
54-
target: ${{ matrix.target }}
51+
- name: Setup rust
52+
run: |
53+
rustup target add ${{ matrix.target }} --toolchain 1.86.0
5554
5655
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab
5756
with:

.github/workflows/_build-plugin-binaries.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
steps:
6969
- uses: actions/checkout@v4
7070

71-
- uses: dtolnay/rust-toolchain@stable
72-
with:
73-
target: ${{ matrix.target }}
71+
- name: Setup rust
72+
run: |
73+
rustup target add ${{ matrix.target }} --toolchain 1.86.0
7474
7575
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
7676

.github/workflows/_test-binaries.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
# TODO(#3144) Remove
3636
scarb-version: "2.11.0"
3737

38-
- uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a
39-
with:
40-
toolchain: stable
38+
- name: Setup rust
39+
run: |
40+
rustup target add ${{ matrix.target }} --toolchain 1.86.0
4141
4242
- name: Download artifacts
4343
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)