File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments