Skip to content

Commit 5ca6038

Browse files
committed
chore: ensure foundry installation
1 parent 27365ea commit 5ca6038

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ jobs:
2424
cache-dependency-path: './sdk/yarn.lock'
2525

2626
- name: Install Foundry
27-
uses: foundry-rs/foundry-toolchain@v1
28-
with:
29-
version: nightly
30-
31-
- name: Add Foundry to PATH
3227
run: |
28+
curl -L https://foundry.paradigm.xyz | bash
29+
~/.foundry/bin/foundryup
3330
echo "$HOME/.foundry/bin" >> $GITHUB_PATH
34-
test -f "$HOME/.foundry/bin/anvil" && echo "Anvil found at $HOME/.foundry/bin/anvil" || echo "Anvil not found"
35-
foundryup
31+
32+
- name: Verify Foundry installation
33+
run: |
34+
ls -la ~/.foundry/bin/
35+
echo "PATH=$PATH"
36+
~/.foundry/bin/anvil --version
3637
3738
- name: Install dependencies
3839
run: yarn install
@@ -44,6 +45,10 @@ jobs:
4445
run: yarn build
4546

4647
- name: Test
47-
run: yarn test
48+
run: |
49+
export PATH="$HOME/.foundry/bin:$PATH"
50+
which anvil
51+
anvil --version
52+
yarn test
4853
env:
4954
CI: true

0 commit comments

Comments
 (0)