From 4afa57903128957a6c1fd01d06f314e2e508a5a1 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Wed, 30 Jul 2025 07:51:38 +0300 Subject: [PATCH] Add resolc to CI --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 883edd9..4b52009 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,9 +99,12 @@ jobs: - name: Install Geth on Ubuntu if: matrix.os == 'ubuntu-24.04' run: | + sudo add-apt-repository -y ppa:ethereum/ethereum sudo apt-get update sudo apt-get install -y protobuf-compiler + sudo apt-get install -y solc + # We were facing some issues in CI with the 1.16.* versions of geth, and specifically on # Ubuntu. Eventually, we found out that the last version of geth that worked in our CI was # version 1.15.11. Thus, this is the version that we want to use in CI. The PPA sadly does @@ -132,6 +135,8 @@ jobs: brew tap ethereum/ethereum brew install ethereum protobuf + brew install solidity + curl -sL https://github.com/paritytech/revive/releases/download/v0.3.0/resolc-universal-apple-darwin -o resolc chmod +x resolc sudo mv resolc /usr/local/bin