Add CI testing
This commit is contained in:
parent
8b875c406e
commit
088586f316
20
.github/workflows/test-bindgen.yml
vendored
Normal file
20
.github/workflows/test-bindgen.yml
vendored
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user