Skip to content

Commit

Permalink
Fix rustup toolchain version (#9697)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yamadapc committed May 6, 2024
1 parent 6c6b879 commit a007691
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
cache: yarn
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
components: rustfmt
# use `--frozen-lockfile` to fail immediately if the committed yarn.lock needs updates
# https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-frozen-lockfile
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
node-version: ${{ matrix.node }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
- uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ matrix.os }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
node-version: ${{ matrix.node }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
- uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ matrix.os }}
Expand All @@ -139,7 +139,7 @@ jobs:
node-version: 20
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
targets: wasm32-unknown-unknown
- name: Install wasm-opt
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}
- uses: bahmutov/npm-install@v1.8.35
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.77
profile: minimal
override: true
- uses: bahmutov/npm-install@v1.8.35
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}
- name: Install cross compile toolchains
run: |
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
node-version: 20
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.77
targets: wasm32-unknown-unknown
- name: Install wasm-opt
run: |
Expand Down

0 comments on commit a007691

Please sign in to comment.