diff --git a/.github/workflows/test-bindgen.yml b/.github/workflows/test-bindgen.yml new file mode 100644 index 0000000..800a160 --- /dev/null +++ b/.github/workflows/test-bindgen.yml @@ -0,0 +1,20 @@ +name: Test `wit-bindgen` against the WIT +on: [push, pull_request, workflow_dispatch] + +permissions: + contents: write + pull-requests: write + +jobs: + test-bindgen: + name: Test with `wit-bindgen` + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Setup `wit-bindgen` + uses: bytecodealliance/actions/wit-bindgen/setup@v1 + + - name: Test WIT + run: wit-bindgen rust v0.1