From efdb39319565fc13e7a068c1ca9b1fad080a6591 Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Wed, 19 Aug 2026 14:11:41 +0200 Subject: [PATCH] ci: validate the on-chain overlay too It is the compose file nobody runs before merging, since it needs a wallet, an RPC and a keystore, and the one most likely to break: ten interpolated variables and a second service. Interpolating .env.example also proves that file still lists every variable the overlay reads. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/lint.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 994fcef..681db9b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,14 @@ jobs: python-version: "3.12" # Runs every hook in .pre-commit-config.yaml against all files. - uses: pre-commit/action@v3.0.1 - # Parses and merges the compose file; builds and starts nothing. + # Parses and merges the compose files; builds and starts nothing. # The Dockerfile is covered by build.yml. + # + # The on-chain overlay is the one nobody runs before merging: it needs a + # wallet, an RPC and a keystore. Interpolating .env.example also proves that + # file still lists every variable the overlay reads. - name: Validate compose - run: docker compose -f compose.yml config --quiet + run: | + docker compose -f compose.yml config --quiet + docker compose --env-file .env.example \ + -f compose.yml -f compose.onchain.yml config --quiet