Skip to content

Commit 125739f

Browse files
committed
fix(gha): fix submodule tag oz-contracts-upgradeable
Version 5 and up doesn't contain the missing MerkleProofUpgradeable.sol
1 parent 1d0b970 commit 125739f

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

.github/workflows/ci-default.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,6 @@ jobs:
3434
with:
3535
submodules: "recursive"
3636

37-
- name: Verify submodules are checked out
38-
run: |
39-
git submodule status
40-
git submodule foreach 'echo Submodule $name checked out to $sha1'
41-
42-
- name: Ensure all submodules are initialized
43-
run: |
44-
git submodule foreach --quiet 'test -d "$name" || (echo "Submodule $name is missing!" && exit 1)'
45-
46-
47-
- name: Inspect directory structure
48-
run: |
49-
echo "Root directory contents:"
50-
ls -la
51-
echo "Project directory contents:"
52-
ls -la /home/runner/work/hypercerts-protocol/hypercerts-protocol
53-
echo "lib directory contents:"
54-
ls -la /home/runner/work/hypercerts-protocol/hypercerts-protocol/lib
55-
56-
- name: Find specific file
57-
run: |
58-
echo "Searching for MerkleProofUpgradeable.sol..."
59-
find /home/runner/work/hypercerts-protocol/hypercerts-protocol -name "MerkleProofUpgradeable.sol" -print
60-
6137
- name: Install Foundry
6238
uses: foundry-rs/foundry-toolchain@v1
6339

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[submodule "lib/openzeppelin-contracts-upgradeable"]
55
path = lib/openzeppelin-contracts-upgradeable
66
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
7+
tag = v4.9.6
78
[submodule "lib/forge-std"]
89
path = lib/forge-std
910
url = https://github.com/foundry-rs/forge-std

0 commit comments

Comments
 (0)