Goのシリアライザの32bit対応 #78
Workflow file for this run
This file contains 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: WSNet2 dashboard ci | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/wsnet2-dashboard.yml' | |
- 'wsnet2-dashboard/**' | |
- 'server/**' | |
jobs: | |
gopherjs: | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
working-directory: wsnet2-dashboard/backend/go-binary | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: "server/go.mod" | |
cache: true | |
cache-dependency-path: wsnet2-dashboard/backend/go-binary/go.sum | |
- uses: arduino/setup-protoc@v2 | |
with: | |
version: '24.x' | |
- run: make -C ../../../server generate | |
- run: go install golang.org/dl/go1.18.5@latest && go1.18.5 download | |
- run: GOARCH=386 go1.18.5 test wsnet2/binary | |
- run: GOARCH=386 go1.18.5 build | |
- run: go install github.com/gopherjs/[email protected] | |
- run: PATH="$(go1.18.5 env GOROOT)/bin:$PATH" GOPHERJS_GOROOT="$(go1.18.5 env GOROOT)" gopherjs build |