Skip to content

Commit 8f1aa3b

Browse files
rickstaaclaude
andauthored
ci: validate each example's on-chain overlay too (#85)
The loop parses every compose.yml and stops there, so no compose.onchain.yml is checked by anything. That is the file nobody runs before merging, since it needs a wallet, an RPC and a keystore, and the one most likely to break. Interpolating .env.example also proves that file still lists every variable the overlay reads. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1cca857 commit 8f1aa3b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,12 @@ jobs:
3232
example=${dir%/}
3333
[ -f "$example/compose.yml" ] || continue
3434
docker compose -f "$example/compose.yml" config --quiet || status=1
35+
# The on-chain overlay is the one nobody runs before merging: it needs
36+
# a wallet, an RPC and a keystore. Interpolating .env.example also
37+
# proves that file still lists every variable the overlay reads.
38+
[ -f "$example/compose.onchain.yml" ] || continue
39+
docker compose --env-file "$example/.env.example" \
40+
-f "$example/compose.yml" -f "$example/compose.onchain.yml" \
41+
config --quiet || status=1
3542
done
3643
exit $status

0 commit comments

Comments
 (0)