Skip to content

Commit

Permalink
Fixing foundry setup action;
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Oct 17, 2023
1 parent a4981ca commit 746dd3f
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,10 @@ runs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: pnpm i
shell: bash
- name: Foundry
defaults:
run:
shell: bash -ieo pipefail {0}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
run:
curl -L https://foundry.paradigm.xyz | bash ; source ~/.bashrc ; foundryup
- name: Run Anvil Client in background for integration tests
run: anvil --fork-url ${{ secrets.ETHEREUM_RPC_URL }} &
env:
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }}
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Anvil Node
run: anvil --fork-url ${{ secrets.ETHEREUM_RPC_URL }} &
env:
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }}
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}

0 comments on commit 746dd3f

Please sign in to comment.