From 0c073c9c23413019dc2d4438b25d1f65c0653448 Mon Sep 17 00:00:00 2001 From: Michielvk <16121929+Michielvk@users.noreply.github.com> Date: Wed, 1 Apr 2026 12:54:50 +0200 Subject: [PATCH] ci: add wit validation workflow --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ .github/workflows/main.yml | 14 -------------- 2 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a78fb11 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + validate: + name: Validate WIT + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6.0.2 + + - name: Install wasm-tools + uses: bytecodealliance/actions/wasm-tools/setup@v1 + + - name: Validate WIT + run: wasm-tools component wit wit/ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index b944a0d..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: CI -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - abi-up-to-date: - name: Check ABI files are up-to-date - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: WebAssembly/wit-abi-up-to-date@v17