Skip to content

Commit 7c8c71d

Browse files
kariyclaude
andcommitted
ci: add submodules and contract build for generate-compat-db
Building katana requires the contract artifacts from `make contracts`, which in turn requires the submodules (contracts sources). Mirror the same setup used by the generate-migration-dbs job. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent adc4887 commit 7c8c71d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/generate-db-dispatch.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
ASDF_SOZO_VERSION: "1.7.0"
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
submodules: recursive
1618

1719
# Workaround for https://github.com/actions/runner-images/issues/6775
1820
- run: git config --global --add safe.directory "*"
@@ -22,6 +24,9 @@ jobs:
2224
with:
2325
scarb-version: "2.10.1"
2426

27+
- name: Build contracts
28+
run: make contracts
29+
2530
- name: Build katana
2631
run: cargo build --bin katana --release
2732

0 commit comments

Comments
 (0)