fix(demo): Fix the unicode demo to use uniseg #83
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: webasm | |
| on: [push] | |
| jobs: | |
| build: | |
| name: build | |
| runs-on: [ubuntu-latest] | |
| strategy: | |
| matrix: | |
| go: ["stable", "oldstable"] | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v5 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| id: go | |
| - name: Get dependencies | |
| run: go get -v -t -d ./... | |
| - name: Build the web assembly mouse demo | |
| run: env GOOS=js GOARCH=wasm go build _demos/mouse.go |