pin the version of geth used in CI

This commit is contained in:
Omar Abdulla
2025-07-10 12:08:15 +03:00
parent f94f35443a
commit 953b3f2420
+6 -5
View File
@@ -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'