1
0
mirror of https://github.com/go-acme/lego.git synced 2025-01-20 13:15:32 +02:00

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: matrix:
fast_finish: true fast_finish: true
include: include:
- go: 1.13.x - go: 1.14.x
env: STABLE=true env: STABLE=true
- go: 1.x - go: 1.x
- go: tip - go: tip
allow_failures: allow_failures:
- go: 1.x # FIXME currently golangci-lint doesn't work with go1.14
- go: tip - go: tip
go_import_path: github.com/go-acme/lego go_import_path: github.com/go-acme/lego

2
go.mod
View File

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

View File

@ -34,7 +34,7 @@ func TestNewDNSProvider(t *testing.T) {
envToken: "dummy", envToken: "dummy",
envEndpoint: ":", 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{ envVars: map[string]string{
"HTTPREQ_ENDPOINT": ":", "HTTPREQ_ENDPOINT": ":",
}, },
expected: "httpreq: parse :: missing protocol scheme", expected: `httpreq: parse ":": missing protocol scheme`,
}, },
{ {
desc: "missing endpoint", desc: "missing endpoint",

View File

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