| 1 |
name: Test wasip1 |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: [ "main" ] |
| 6 |
pull_request: |
| 7 |
|
| 8 |
permissions: {} |
| 9 |
|
| 10 |
jobs: |
| 11 |
test: |
| 12 |
strategy: |
| 13 |
matrix: |
| 14 |
go-version: [oldstable, stable] |
| 15 |
runs-on: ubuntu-latest |
| 16 |
steps: |
| 17 |
- name: Checkout code |
| 18 |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 |
| 19 |
|
| 20 |
- name: Install Go |
| 21 |
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 |
| 22 |
with: |
| 23 |
go-version: ${{ matrix.go-version }} |
| 24 |
|
| 25 |
- name: Install wasirun |
| 26 |
run: | |
| 27 |
go install github.com/stealthrocket/wasi-go/cmd/[email protected] |
| 28 |
|
| 29 |
- name: Test |
| 30 |
run: make wasitest |