Bump to Go 1.15

This commit is contained in:
zikaeroh 2020-08-12 16:46:59 -07:00
parent 4d358d4c8c
commit d4e9a48d39
4 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ on:
- master - master
env: env:
GO_DEV_VERSION: "1.14" # Recommended Go version for development. GO_DEV_VERSION: "1.15" # Recommended Go version for development.
GOLANGCI_LINT_VERSION: "v1.30.0" GOLANGCI_LINT_VERSION: "v1.30.0"
NODE_VERSION: "14" NODE_VERSION: "14"
@ -19,7 +19,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: ["1.14"] go: ["1.15"]
pkger: [false, true] pkger: [false, true]
name: Go ${{ matrix.go }} (${{ matrix.pkger && 'static' || 'live' }}) name: Go ${{ matrix.go }} (${{ matrix.pkger && 'static' || 'live' }})

View File

@ -16,7 +16,7 @@ ARG version
RUN jq ".version = \"${version}\"" ./src/metadata.json | sponge ./src/metadata.json RUN jq ".version = \"${version}\"" ./src/metadata.json | sponge ./src/metadata.json
RUN yarn build RUN yarn build
FROM golang:1.14 as GO_BUILD FROM golang:1.15 as GO_BUILD
WORKDIR /codies WORKDIR /codies
COPY ./go.mod ./go.sum ./ COPY ./go.mod ./go.sum ./
RUN go mod download RUN go mod download

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.14
require ( require (
github.com/go-chi/chi v4.1.2+incompatible github.com/go-chi/chi v4.1.2+incompatible
github.com/jessevdk/go-flags v1.4.1-0.20181221193153-c0795c8afcf4 github.com/jessevdk/go-flags v1.4.1-0.20181221193153-c0795c8afcf4
github.com/mailru/easyjson v0.7.3 github.com/mailru/easyjson v0.7.4-0.20200812114229-8ab5ff9cd8e4
github.com/markbates/pkger v0.17.0 github.com/markbates/pkger v0.17.0
github.com/posener/ctxutil v1.0.0 github.com/posener/ctxutil v1.0.0
github.com/prometheus/client_golang v1.7.1 github.com/prometheus/client_golang v1.7.1

4
go.sum
View File

@ -86,8 +86,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y=
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
github.com/mailru/easyjson v0.7.3 h1:M6wcO9gFHCIPynXGu4iA+NMs//FCgFUWR2jxqV3/+Xk= github.com/mailru/easyjson v0.7.4-0.20200812114229-8ab5ff9cd8e4 h1:O+6Lz+j8x3wl6w4uwwNs62EFM0MfLSkRAqI9LUNlcq0=
github.com/mailru/easyjson v0.7.3/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.4-0.20200812114229-8ab5ff9cd8e4/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=