diff --git a/.github/workflows/wasi.yml b/.github/workflows/wasi.yml new file mode 100644 index 0000000..f3a0f3e --- /dev/null +++ b/.github/workflows/wasi.yml @@ -0,0 +1,28 @@ +# spell-checker:ignore wasip +name: WASI + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +# End the current execution if there is a new changeset in the PR. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + +jobs: + test_wasi: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-wasip1 + - name: check + run: cargo check --target wasm32-wasip1