From 70fa8f3abe939ebbc0e9ebc9fe5b93012412bcce Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Tue, 9 Dec 2025 10:10:40 -0500 Subject: [PATCH 1/2] Capture WIT interface for each component in CI Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 59c09b2..39b76cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,6 +39,14 @@ jobs: name: components.tar path: components.tar retention-days: 7 + - 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/') From cf1c6bdb6772f03eee87c92a92c7be6fbcd8a06b Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Tue, 9 Dec 2025 10:11:51 -0500 Subject: [PATCH 2/2] install wasm-tools Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 39b76cf..561672d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,8 @@ jobs: run: cargo binstall --force cargo-component - name: Install wkg run: cargo binstall --force wkg + - name: Install wkg + run: cargo binstall --force wasm-tools - name: Fetch wit run: make wit - name: Check for drift in generated wit