8f42dedef8
* Add GO111MODULE=off to build.sh * Use golang 1.16 * Update go version in README.md * Add missing GO111MODULE=off * Add missing GO111MODULE=off again * Use go1.16.3 explicitly * Use 1.16 for CI test * Update min go version * Use go 1.16.4
26 lines
399 B
YAML
26 lines
399 B
YAML
name: CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go 1.16
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.16
|
|
|
|
- name: Build
|
|
run: script/cibuild
|
|
|
|
- name: Upload gh-ost binary artifact
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: gh-ost
|
|
path: bin/gh-ost
|