Skip to content

Commit

Permalink
secrets.ETHEREUM_RPC_URL is not available in setup/action.yml, trying…
Browse files Browse the repository at this point in the history
… to run anvil in the workflow checks again;
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Oct 17, 2023
1 parent 13b92f8 commit ac375de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,3 @@ runs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: pnpm i
shell: bash
- 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 }}
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Anvil Node
run: anvil --fork-url ${{ secrets.ETHEREUM_RPC_URL }} &
- name: Test
run: pnpm test:ci
env:
Expand Down

0 comments on commit ac375de

Please sign in to comment.