diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index eea4c04..9640d8b 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -11,7 +11,7 @@ on: jobs: - build: + Build Test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -24,5 +24,15 @@ jobs: - name: Test1 run: GOOS=js GOARCH=wasm go build -o build/main.wasm tests/test1/test1.go + Build Example: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + - name: Example run: GOOS=js GOARCH=wasm go build -o build/main.wasm example/example.go