Skip to content

Commit

Permalink
Replace solc-select with svm-rs in CI and docs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kayabaNerve committed Oct 13, 2023
1 parent d50fe87 commit 94bff27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/actions/build-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94bff27

Please sign in to comment.