Merge pull request #35 from aki-0421/test-ci

Add Test CI
This commit is contained in:
syumai 2023-04-19 22:49:01 +09:00 committed by GitHub
commit c0f7b90059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.github/workflows/pull_request.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
name: ci
on:
pull_request:
jobs:
ci:
strategy:
matrix:
go-version: [ 1.18, 1.19 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Test
shell: bash
run: |
export PATH=$(go env GOROOT)/misc/wasm:$PATH
GOOS=js GOARCH=wasm go test ./...