Skip to content

Commit 303fe35

Browse files
committed
try
1 parent e2a1890 commit 303fe35

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
with:
2727
path: erc4626-tests
2828

29+
- name: Get current commit SHA
30+
id: current-commit
31+
working-directory: erc4626-tests
32+
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
33+
2934
- name: Checkout external project
3035
uses: actions/checkout@v4
3136
with:
@@ -44,7 +49,7 @@ jobs:
4449
git remote -v show
4550
git branch --all
4651
git remote update
47-
git checkout local/main
52+
git checkout ${{ steps.current-commit.outputs.sha }}
4853
4954
- name: Install Foundry
5055
uses: foundry-rs/foundry-toolchain@v1

0 commit comments

Comments
 (0)