Skip to content

Commit 564dce0

Browse files
committed
Pin Foundry install directory in CI
1 parent ce560f2 commit 564dce0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
3232
- name: Install Foundry
3333
run: |
34+
export FOUNDRY_DIR="$HOME/.foundry"
3435
curl -L https://foundry.paradigm.xyz | bash
35-
source "$HOME/.bashrc"
36-
foundryup
37-
echo "$HOME/.foundry/bin" >> "$GITHUB_PATH"
36+
"$FOUNDRY_DIR/bin/foundryup"
37+
echo "$FOUNDRY_DIR/bin" >> "$GITHUB_PATH"
3838
3939
- name: Show Forge version
4040
run: forge --version

0 commit comments

Comments
 (0)