diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f39868d..8eae90c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,7 +85,10 @@ jobs: with: path: bundler-spec-tests key: ${{ runner.os }}-${{ hashFiles('bundler-spec-tests/pdm.lock', 'bundler-spec-tests/@account-abstraction/contracts/**/*.sol') }} - + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + - run: cd bundler-spec-tests; git checkout name: "re-checkout bundler-spec-tests (on top of cache)" diff --git a/runall.sh b/runall.sh index 8410570..9f355b5 100755 --- a/runall.sh +++ b/runall.sh @@ -8,6 +8,8 @@ BUILD=$root/build OUT=$BUILD/out #test -d bundler-spec-tests || git clone https://github.com/eth-infinitism/bundler-spec-tests.git -b v07 +script_dir=$(dirname "$(realpath "$BASH_SOURCE")") + #by default, run all single-bundler configs BUNDLERS=`ls $root/bundlers/*/*yml|grep -v p2p` @@ -26,7 +28,7 @@ BUNDLERS=`realpath $1` shift fi -cd bundler-spec-tests +cd $script_dir/bundler-spec-tests #first time must runall. test -d .venv || runall=1