Closed
Description
What version of Go are you using (go version
)?
Downloading: https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz Extracting archive [command]/bin/tar xzC /home/vsts/work/_temp/1c8530c4-eae3-4887-a554-cae13254c039 -f /home/vsts/work/_temp/86ea4780-4861-4208-9eee-76c050c1dcec Caching tool: go 1.11.0 x64 Prepending PATH environment variable with directory: /opt/hostedtoolcache/go/1.11.0/x64/bin
Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env
)?
go env
Output
go1.11.linux-amd64 https://dev.azure.com/markbates/buffalo/_build/results?buildId=412
What did you do?
I rebuilt the go.mod
file for gobuffalo/buffalo
(https://github.com/gobuffalo/buffalo/pull/1610/files) using go1.12
. In doing so it added go 1.12
to the top of the go.mod
:
module github.com/gobuffalo/buffalo
go 1.12
When attempting to test this on CI with any variation of GOOS (windows, Mac, linux), go1.11
and GO111MODULES=on
, I get errors telling me that module requires Go 1.12
PR: https://github.com/gobuffalo/buffalo/pull/1610/files
CI: https://dev.azure.com/markbates/buffalo/_build/results?buildId=412
What did you expect to see?
I expected my tests to pass as they had previously done before the go.mod
file was modified.
What did you see instead?
go build github.com/gobuffalo/buffalo/render: module requires Go 1.12
go build github.com/gobuffalo/buffalo/binding: module requires Go 1.12
go build github.com/gobuffalo/buffalo/runtime: module requires Go 1.12
go build github.com/gobuffalo/buffalo/servers: module requires Go 1.12
go build github.com/gobuffalo/buffalo/worker: module requires Go 1.12
go build github.com/gobuffalo/buffalo/binding: module requires Go 1.12
go build github.com/gobuffalo/buffalo/buffalo/cmd/destroy: module requires Go 1.12
go build github.com/gobuffalo/buffalo/packrd: module requires Go 1.12
go build github.com/gobuffalo/buffalo/genny/grift: module requires Go 1.12
go build github.com/gobuffalo/buffalo/genny/grift: module requires Go 1.12
go build github.com/gobuffalo/buffalo/grifts: module requires Go 1.12
go build github.com/gobuffalo/buffalo/mail/internal/mail: module requires Go 1.12
go build github.com/gobuffalo/buffalo/render: module requires Go 1.12
go build github.com/gobuffalo/buffalo/worker: module requires Go 1.12