From b38394a0ef1aca2cfc6b00a3d6e4d56fdd7007a6 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Tue, 9 Dec 2025 10:32:04 -0500 Subject: [PATCH] Capture WIT interface for each component in CI Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a09436f..e4f0e2f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,6 +26,8 @@ jobs: run: cargo binstall --force wasmtime-cli - name: Install wkg run: cargo binstall --force wkg + - name: Install wasm-tools + run: cargo binstall --force wasm-tools - name: Sync wit run: make wit - name: Check for drift in generated wit @@ -45,6 +47,14 @@ jobs: run: docker run --rm --name valkey -d -p 6379:6379 valkey/valkey:8 - name: Test run: make test + - name: Capture WIT + working-directory: ./lib + run: | + for component in *.wasm ; do + echo "::group::${component}" + wasm-tools component wit "${component}" + echo "::endgroup::" + done publish: if: startsWith(github.ref, 'refs/tags/')