From 953b3f24201bcb40777e0cd8aa92b244609de207 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Thu, 10 Jul 2025 12:08:15 +0300 Subject: [PATCH] pin the version of geth used in CI --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27273aa..1696961 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -102,13 +102,14 @@ 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 ethereum=1.15.11+build31083+noble protobuf-compiler + sudo apt-get install -y protobuf-compiler - # This pins the version of `ethereum` so that it can't be upgraded by mistake if we run - # apt update in a later step. - sudo apt-mark hold ethereum + # Download and install Geth all-tools from the geth store website as the PPA only has the + # latest versions of Geth. + sudo apt-get install -y wget ca-certificates tar + wget -qO- https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-arm64-1.15.11-36b2371c.tar.gz \ + | sudo tar xz -C /usr/local/bin --strip-components=1 - name: Install Geth on macOS if: matrix.os == 'macos-14'