feat(ci): add geth to ci (#367)

This commit is contained in:
Dan Cline
2022-12-09 01:40:20 -05:00
committed by GitHub
parent f489ec51f0
commit dffc42d6d5

View File

@ -7,6 +7,7 @@ on:
env:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
GETH_BUILD: 1.10.26-e5eb32ac
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@ -27,6 +28,16 @@ jobs:
with:
cache-on-failure: true
- name: Install geth
run: |
mkdir -p "$HOME/bin"
wget -q https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-$GETH_BUILD.tar.gz
tar -xvf geth-linux-amd64-$GETH_BUILD.tar.gz
mv geth-linux-amd64-$GETH_BUILD/geth $HOME/bin/geth
chmod u+x "$HOME/bin/geth"
export PATH=$HOME/bin:$PATH
geth version
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
@ -59,7 +70,7 @@ jobs:
args: cargo-test-fuzz afl
- name: Run fuzz tests
run: |
run: |
./.github/scripts/fuzz.sh reth-primitives
./.github/scripts/fuzz.sh reth-db
./.github/scripts/fuzz.sh reth-interfaces