Skip to content

Commit a007691

Browse files
authored
Fix rustup toolchain version (#9697)
* Fix rustup toolchain version This is a follow-up to #9696 It should fix this failure to build releases - https://github.com/parcel-bundler/parcel/actions/runs/8962384055/job/24611186421 * Pin all rust toolchains to 1.77
1 parent 6c6b879 commit a007691

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: yarn
2222
- uses: dtolnay/rust-toolchain@master
2323
with:
24-
toolchain: stable
24+
toolchain: 1.77
2525
components: rustfmt
2626
# use `--frozen-lockfile` to fail immediately if the committed yarn.lock needs updates
2727
# https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-frozen-lockfile
@@ -74,7 +74,7 @@ jobs:
7474
node-version: ${{ matrix.node }}
7575
- uses: dtolnay/rust-toolchain@master
7676
with:
77-
toolchain: stable
77+
toolchain: 1.77
7878
- uses: Swatinem/rust-cache@v2
7979
with:
8080
shared-key: ${{ matrix.os }}
@@ -112,7 +112,7 @@ jobs:
112112
node-version: ${{ matrix.node }}
113113
- uses: dtolnay/rust-toolchain@master
114114
with:
115-
toolchain: stable
115+
toolchain: 1.77
116116
- uses: Swatinem/rust-cache@v2
117117
with:
118118
shared-key: ${{ matrix.os }}
@@ -139,7 +139,7 @@ jobs:
139139
node-version: 20
140140
- uses: dtolnay/rust-toolchain@master
141141
with:
142-
toolchain: stable
142+
toolchain: 1.77
143143
targets: wasm32-unknown-unknown
144144
- name: Install wasm-opt
145145
run: |

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install Rust
4949
uses: dtolnay/rust-toolchain@master
5050
with:
51-
toolchain: stable
51+
toolchain: 1.77
5252
target: ${{ matrix.target }}
5353
- uses: bahmutov/[email protected]
5454
- uses: Swatinem/rust-cache@v2
@@ -98,7 +98,7 @@ jobs:
9898
- name: Install Rust
9999
uses: actions-rs/toolchain@v1
100100
with:
101-
toolchain: stable
101+
toolchain: 1.77
102102
profile: minimal
103103
override: true
104104
- uses: bahmutov/[email protected]
@@ -150,7 +150,7 @@ jobs:
150150
- name: Install Rust
151151
uses: dtolnay/rust-toolchain@master
152152
with:
153-
toolchain: stable
153+
toolchain: 1.77
154154
target: ${{ matrix.target }}
155155
- name: Install cross compile toolchains
156156
run: |
@@ -225,7 +225,7 @@ jobs:
225225
- name: Install Rust
226226
uses: dtolnay/rust-toolchain@master
227227
with:
228-
toolchain: stable
228+
toolchain: 1.77
229229
target: ${{ matrix.target }}
230230
- uses: bahmutov/[email protected]
231231
- name: Build native packages

.github/workflows/tag-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
node-version: 20
3030
- uses: dtolnay/rust-toolchain@master
3131
with:
32-
toolchain: stable
32+
toolchain: 1.77
3333
targets: wasm32-unknown-unknown
3434
- name: Install wasm-opt
3535
run: |

0 commit comments

Comments
 (0)