From bcce2337baf34ad18028e20afdb27d47fd8a46ad Mon Sep 17 00:00:00 2001 From: Patrick Gaskin Date: Fri, 11 Jun 2021 02:25:26 -0400 Subject: [PATCH] all: Increase minimum Go version to 1.16 --- .appveyor.yml | 13 +++++-------- .drone.star | 5 +---- .travis.yml | 5 +---- go.mod | 2 +- go.sum | 4 ---- 5 files changed, 8 insertions(+), 21 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 18d1268..fe998f9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,16 +1,13 @@ version: '{build}' -environment: - GO111MODULE: on - -# TODO: update to Go 1.14 once ready (appveyor/ci#3325) +image: Visual Studio 2019 build_script: -- cmd: C:\go113\bin\go.exe run -mod=readonly ./cmd/kepubify --help +- cmd: C:\go116\bin\go.exe run -mod=readonly ./cmd/kepubify --help test_script: -- cmd: C:\go113\bin\go.exe test -mod=readonly -run "^TestMod_" golang.org/x/net/html -v -- cmd: C:\go113\bin\go.exe test -mod=readonly -v ./kepub -- cmd: C:\go113\bin\go.exe test -mod=readonly -v ./cmd/kepubify +- cmd: C:\go116\bin\go.exe test -mod=readonly -run "^TestMod_" golang.org/x/net/html -v +- cmd: C:\go116\bin\go.exe test -mod=readonly -v ./kepub +- cmd: C:\go116\bin\go.exe test -mod=readonly -v ./cmd/kepubify deploy: off diff --git a/.drone.star b/.drone.star index 2240dd3..9660c9b 100644 --- a/.drone.star +++ b/.drone.star @@ -1,4 +1,4 @@ -go = "1.14.7" +go = "1.16.4" pipeline = [{ "name": pname, @@ -7,9 +7,6 @@ pipeline = [{ "steps": [{ "name": name, "image": "golang:%s-buster" % (go), - "environment": { - "GO111MODULE": "on", - }, "commands": [cmd], } for (name, cmd) in psteps], "trigger": { diff --git a/.travis.yml b/.travis.yml index 8853254..6e22463 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,7 @@ os: language: go go: -- 1.14.x - -env: - GO111MODULE: "on" +- 1.16.x script: - go run -mod=readonly ./cmd/kepubify --help diff --git a/go.mod b/go.mod index a0aaf7b..085ff60 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pgaskin/kepubify/v4 -go 1.14 +go 1.16 require ( // kepubify/covergen/seriesmeta diff --git a/go.sum b/go.sum index cd237be..0e0f795 100644 --- a/go.sum +++ b/go.sum @@ -7,12 +7,10 @@ github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/smartypants v0.1.0 h1:Sn8hn5XrY+uXrxSWUdcr621Gfpk11mOGGVs4XX06kEw= github.com/kr/smartypants v0.1.0/go.mod h1:EcTX9ge+SWNaGwbQvHwNICsMGavh98FLUqyOWFr+j9c= -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/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= @@ -34,10 +32,8 @@ golang.org/x/sync v0.0.0-20201008141435-b3e1573b7520 h1:Bx6FllMpG4NWDOfhMBz1VR2Q golang.org/x/sync v0.0.0-20201008141435-b3e1573b7520/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I=