26 lines
393 B
YAML
26 lines
393 B
YAML
name: CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.17
|
|
|
|
- name: Build
|
|
run: script/cibuild
|
|
|
|
- name: Upload gh-ost binary artifact
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: gh-ost
|
|
path: bin/gh-ost
|