mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(ci): add geth to ci (#367)
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user