Skip to content

Commit a380fb2

Browse files
committed
fix
1 parent 1f3a42f commit a380fb2

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,17 @@ 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-
3429
- name: Checkout external project
3530
uses: actions/checkout@v4
3631
with:
3732
repository: ${{ matrix.project.repo }}
3833
path: ${{ matrix.project.dir }}
34+
submodules: recursive
3935

40-
- name: Replace submodule with current commit
36+
- name: Replace submodule with current repository
4137
working-directory: ${{ matrix.project.dir }}
4238
run: |
43-
git submodule update --recursive --init
44-
4539
rm -rf ${{ matrix.project.submodule }}
46-
4740
cp -r ${{ github.workspace }}/erc4626-tests ${{ matrix.project.submodule }}
4841
4942
- name: Install Foundry

0 commit comments

Comments
 (0)