all: update to Go 1.15

This commit is contained in:
mpl 2020-11-02 14:44:01 +01:00 committed by GitHub
parent f2e7add71b
commit cb96bb8bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 7 deletions

View File

@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.x, 1.13.x]
go-version: [1.x, 1.15.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

View File

@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x]
go-version: [1.15.x]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}

View File

@ -22,11 +22,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libsqlite3-dev
ENV GOLANG_VERSION 1.13.5
ENV GOLANG_VERSION 1.15.3
WORKDIR /usr/local
RUN wget -O go.tgz https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo "512103d7ad296467814a6e3f635631bd35574cab3369a97a323c9a585ccaa569 go.tgz" | sha256sum -c -
RUN echo "010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d go.tgz" | sha256sum -c -
RUN tar -zxvf go.tgz
ENV GOROOT /usr/local/go

View File

@ -1,3 +1,8 @@
** How to build the perkeep/go image: **
# TODO(mpl): make the tools build it.
docker build -t perkeep/go ./misc/docker/go
** How to build the Perkeep server docker image (for the GCE launcher): **
$ go run ./misc/docker/dock.go -rev=$GIT_REVISION -upload=true

View File

@ -898,7 +898,7 @@ func validateDirInGOPATH(dir string) error {
}
const (
goVersionMinor = 13
goVersionMinor = 15
gopherJSGoMinor = 12
)

View File

@ -7,8 +7,8 @@ RUN apt-get -y --no-install-recommends install ca-certificates libc6-dev
RUN apt-get -y --no-install-recommends install git
# Get Go stable release
ENV GOLANG_VERSION 1.13.5
ENV GOLANG_VERSION 1.15.3
WORKDIR /tmp
RUN curl -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz
RUN echo '512103d7ad296467814a6e3f635631bd35574cab3369a97a323c9a585ccaa569 go'${GOLANG_VERSION}'.linux-amd64.tar.gz' | sha256sum -c
RUN echo '010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d go'${GOLANG_VERSION}'.linux-amd64.tar.gz' | sha256sum -c
RUN tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz