From 208e1acc5796c7baa8b62b7eb52150b625a82d9f Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Tue, 20 Apr 2021 11:50:41 +0200 Subject: [PATCH] multi: bump minimum golang version to 1.15 Bump the minimum golang version to 1.15 in the go.mod file. The go version is also updated in the Dockerfile and travis.yml file. This is required so that the correct `errors.Is` method is used. --- .travis.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2aa6560..d631b30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ git: depth: false go: - - "1.13.x" + - "1.15.x" env: global: diff --git a/Dockerfile b/Dockerfile index 8962961..286290c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13-alpine as builder +FROM golang:1.15-alpine as builder # Copy in the local repository to build from. COPY . /go/src/github.com/lightningnetwork/loop diff --git a/go.mod b/go.mod index ee845fd..ed166a8 100644 --- a/go.mod +++ b/go.mod @@ -26,4 +26,4 @@ require ( gopkg.in/macaroon.v2 v2.1.0 ) -go 1.13 +go 1.15