mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
install solc-select on e2e ci tests
This commit is contained in:
parent
a2fe0aaa2e
commit
897332e908
1 changed files with 15 additions and 3 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -214,9 +214,7 @@ jobs:
|
|||
sudo apt update
|
||||
sudo apt install build-essential
|
||||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||
sudo snap install solc
|
||||
sudo apt install python2 jq curl
|
||||
sudo ln -sf /usr/bin/python2 /usr/bin/python
|
||||
sudo apt install jq curl
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
|
|
@ -228,6 +226,20 @@ jobs:
|
|||
matic-cli/devnet/code/genesis-contracts/package-lock.json
|
||||
matic-cli/devnet/code/genesis-contracts/matic-contracts/package-lock.json
|
||||
|
||||
- name: Install solc-select
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install python3 python3-pip -y
|
||||
sudo ln -sf /usr/bin/python3 /usr/bin/python
|
||||
pip install solc-select
|
||||
|
||||
- name: Install Solidity Version
|
||||
run: |
|
||||
solc-select install 0.5.17
|
||||
solc-select install 0.6.12
|
||||
solc-select use 0.5.17
|
||||
solc --version
|
||||
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue