Skip to content

Commit 8f45fa9

Browse files
committed
fix(gha): init submodules
add this explicityly
1 parent abcd8cd commit 8f45fa9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-default.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
run: |
3939
cat lib/openzeppelin-contracts-upgradeable/package.json
4040
41+
- name: Force update submodules
42+
run: |
43+
git submodule update --init --recursive --force
44+
git submodule foreach git fetch --all
45+
git submodule foreach git reset --hard origin/HEAD
46+
4147
- name: Debug directory structure
4248
run: |
4349
ls -la lib/openzeppelin-contracts-upgradeable/contracts/utils/cryptography/

0 commit comments

Comments
 (0)