chore: update to go1.14 (#1069)

This commit is contained in:
Ludovic Fernandez 2020-02-26 00:02:29 +01:00 committed by GitHub
parent 52bce2cb07
commit 9d31db300b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View file

@ -7,12 +7,11 @@ cache:
matrix:
fast_finish: true
include:
- go: 1.13.x
- go: 1.14.x
env: STABLE=true
- go: 1.x
- go: tip
allow_failures:
- go: 1.x # FIXME currently golangci-lint doesn't work with go1.14
- go: tip
go_import_path: github.com/go-acme/lego

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/go-acme/lego/v3
go 1.13
go 1.14
require (
cloud.google.com/go v0.50.0

View file

@ -34,7 +34,7 @@ func TestNewDNSProvider(t *testing.T) {
envToken: "dummy",
envEndpoint: ":",
},
expected: "checkdomain: invalid CHECKDOMAIN_ENDPOINT: parse :: missing protocol scheme",
expected: `checkdomain: invalid CHECKDOMAIN_ENDPOINT: parse ":": missing protocol scheme`,
},
}

View file

@ -32,7 +32,7 @@ func TestNewDNSProvider(t *testing.T) {
envVars: map[string]string{
"HTTPREQ_ENDPOINT": ":",
},
expected: "httpreq: parse :: missing protocol scheme",
expected: `httpreq: parse ":": missing protocol scheme`,
},
{
desc: "missing endpoint",

View file

@ -61,7 +61,7 @@ func TestNewDNSProvider(t *testing.T) {
"ZONEEE_API_KEY": "456",
"ZONEEE_ENDPOINT": ":",
},
expected: "zoneee: parse :: missing protocol scheme",
expected: `zoneee: parse ":": missing protocol scheme`,
},
}