Skip to content

Commit 3e6785e

Browse files
committed
Update Rust toolchain since there's no libcst wheel for pypy
`actions-rs` has been archived and is no longer the recommended way to install packages. Instead, I'm using the Ubuntu-provided `rustup`.
1 parent e906ac1 commit 3e6785e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/actions/setup-env/action.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ runs:
44
using: "composite"
55
steps:
66
- name: Install Rust
7-
uses: actions-rs/toolchain@v1
8-
with:
9-
toolchain: "1.69.0"
10-
override: true
7+
run: |
8+
sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes --force-yes build-essential rustup
9+
rustup update --no-self-update 1.89.0 && rustup default 1.89.0
1110
1211
- name: Install Tox and any other packages
1312
shell: bash
@@ -20,4 +19,4 @@ runs:
2019
run: |
2120
mkdir -p $GITHUB_WORKSPACE/bin
2221
$GITHUB_WORKSPACE/scripts/download_geth_linux.py --dir $GITHUB_WORKSPACE/bin
23-
echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH
22+
echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH

0 commit comments

Comments
 (0)