Skip to content

Commit

Permalink
fix: add retry logic to prevent race condition failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Dec 12, 2024
1 parent 699f8e8 commit b3ff96c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ jobs:
run: |
cp ./install-foundry-zksync ./foundryup-zksync/* /tmp/
cd /tmp
./install-foundry-zksync
for i in {1..3}; do
./install-foundry-zksync && break || echo "Retrying in 5 seconds..." && sleep 5
done
- name: Verify anvil-zksync installation
run: anvil-zksync --version

0 comments on commit b3ff96c

Please sign in to comment.