github.com/goplusjs/reflectx@v0.5.4/.github/workflows/go114.yml (about) 1 name: Go1.14 2 3 on: 4 push: 5 branches: [ main ] 6 pull_request: 7 branches: [ main ] 8 9 jobs: 10 11 test: 12 name: Test Go1.14 13 runs-on: macos-10.15 14 steps: 15 16 - name: Setup Node.js environment 17 uses: actions/setup-node@v2.1.2 18 with: 19 node-version: 10.0.0 20 21 - name: Set up Go 1.14 22 uses: actions/setup-go@v2 23 with: 24 go-version: 1.14 25 26 - name: Install GopherJS 27 run: | 28 go version 29 go get -v github.com/goplusjs/gopherjs 30 cd $HOME/go/src/github.com/goplusjs/gopherjs 31 npm install # Install our (dev) dependencies from package.json. 32 cd node-syscall && ../node_modules/node-gyp/bin/node-gyp.js rebuild rebuild && mkdir -p ~/.node_libraries && cp build/Release/syscall.node ~/.node_libraries/syscall.node 33 34 - name: Check out code into the Go module directory 35 uses: actions/checkout@v2 36 37 - name: Get dependencies 38 run: | 39 go get -v -t -d ./... 40 41 - name: Build 42 run: go build -v . 43 44 - name: Go Test 45 run: go test -race -v . 46 47 - name: GopherJS Test 48 run: gopherjs test -v