From 94bff272ad77d5279198fad8b1e8bebdbc28e377 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 13 Oct 2023 05:13:33 -0400 Subject: [PATCH] Replace solc-select with svm-rs in CI and docs svm-rs is already in tree as a library, so we may as well include it as a bin instead of also pulling in solc-select. --- .github/actions/build-dependencies/action.yml | 8 +++----- docs/Getting Started.md | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/actions/build-dependencies/action.yml b/.github/actions/build-dependencies/action.yml index ee57ff9db..b1d0eacf1 100644 --- a/.github/actions/build-dependencies/action.yml +++ b/.github/actions/build-dependencies/action.yml @@ -28,8 +28,6 @@ runs: sudo apt remove -y "*apache2*" "*nginx*" "*firefox*" "*chromium*" "*chrome*" "*edge*" sudo apt remove -y "*qemu*" "*sql*" "*texinfo*" "*imagemagick*" sudo apt autoremove -y - sudo apt update - sudo apt install python3 python3-pip -y sudo apt clean docker system prune -a --volumes @@ -41,9 +39,9 @@ runs: - name: Install solc shell: bash run: | - pip3 install solc-select==0.2.1 - solc-select install 0.8.16 - solc-select use 0.8.16 + cargo install svm-rs + svm install 0.8.16 + svm use 0.8.16 - name: Install Rust uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0 diff --git a/docs/Getting Started.md b/docs/Getting Started.md index 287d12ee2..bfb098f1a 100644 --- a/docs/Getting Started.md +++ b/docs/Getting Started.md @@ -35,9 +35,9 @@ rustup target add wasm32-unknown-unknown --toolchain nightly ### Install Solidity ``` -sudo pip3 install solc-select -solc-select install 0.8.16 -solc-select use 0.8.16 +cargo install svm-rs +svm install 0.8.16 +svm use 0.8.16 ``` ### Install Solidity Compiler Version Manager