File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@master
11+ - uses : actions/checkout@v2
1212
13- - name : Set up Go 1.12
13+ - name : Set up Go 1.14
1414 uses : actions/setup-go@v1
1515 with :
16- version : 1.12
17- id : go
16+ go-version : 1.14
1817
1918 - name : Build
2019 run : script/cibuild
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@master
11+ - uses : actions/checkout@v2
1212
13- - name : Set up Go 1.12
13+ - name : Set up Go 1.14
1414 uses : actions/setup-go@v1
1515 with :
16- version : 1.12
17- id : go
16+ go-version : 1.14
1817
1918 - name : migration tests
2019 run : script/cibuild-gh-ost-replica-tests
Original file line number Diff line number Diff line change 11#
22
3- FROM golang:1.12.6
3+ FROM golang:1.14.4
44
55RUN apt-get update
66RUN apt-get install -y ruby ruby-dev rubygems build-essential
Original file line number Diff line number Diff line change 1- FROM golang:1.12.1
1+ FROM golang:1.14.4
22LABEL maintainer="github@github.com"
33
44RUN apt-get update
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Please see [Coding gh-ost](doc/coding-ghost.md) for a guide to getting started d
9494
9595[ Download latest release here] ( https://github.com/github/gh-ost/releases/latest )
9696
97- ` gh-ost ` is a Go project; it is built with Go ` 1.12 ` and above. To build on your own, use either:
97+ ` gh-ost ` is a Go project; it is built with Go ` 1.14 ` and above. To build on your own, use either:
9898- [ script/build] ( https://github.com/github/gh-ost/blob/master/script/build ) - this is the same build script used by CI hence the authoritative; artifact is ` ./bin/gh-ost ` binary.
9999- [ build.sh] ( https://github.com/github/gh-ost/blob/master/build.sh ) for building ` tar.gz ` artifacts in ` /tmp/gh-ost `
100100
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ function build {
1818 GOOS=$3
1919 GOARCH=$4
2020
21- if ! go version | egrep -q ' go(1\.1[234 ])' ; then
22- echo " go version must be 1.12 or above"
21+ if ! go version | egrep -q ' go(1\.1[456 ])' ; then
22+ echo " go version must be 1.14 or above"
2323 exit 1
2424 fi
2525
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PREFERRED_GO_VERSION=go1.12.6
4- SUPPORTED_GO_VERSIONS=' go1.1[234 ]'
3+ PREFERRED_GO_VERSION=go1.14.4
4+ SUPPORTED_GO_VERSIONS=' go1.1[456 ]'
55
66GO_PKG_DARWIN=${PREFERRED_GO_VERSION} .darwin-amd64.pkg
7- GO_PKG_DARWIN_SHA=ea78245e43de2996fa0973033064b33f48820cfe39f4f3c6e953040925cc5815
7+ GO_PKG_DARWIN_SHA=b518f21f823759ee30faddb1f623810a432499f050c9338777523d9c8551c62c
88
99GO_PKG_LINUX=${PREFERRED_GO_VERSION} .linux-amd64.tar.gz
10- GO_PKG_LINUX_SHA=dbcf71a3c1ea53b8d54ef1b48c85a39a6c9a935d01fc8291ff2b92028e59913c
10+ GO_PKG_LINUX_SHA=aed845e4185a0b2a3c3d5e1d0a35491702c55889192bb9c30e67a3de6849c067
1111
1212export ROOTDIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd ) "
1313cd $ROOTDIR
You can’t perform that action at this time.
0 commit comments