From bcd2219d12c1e97770b62ab847c47abf75e77eb0 Mon Sep 17 00:00:00 2001 From: Paul Jolly Date: Mon, 18 Jan 2021 12:43:55 +0000 Subject: [PATCH] ci: add support for Go 1.16 (#117) Involves a quick fix to cmd/testscript tests which currently rely on the pre 1.16 behaviour of cmd/go to automatically update go.{mod,sum} as part of any build command. Adding go1.16beta1 to the build matrix is a function of github.com/actions/setup-go/issues/96 --- cmd/testscript/testdata/simple.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/testscript/testdata/simple.txt b/cmd/testscript/testdata/simple.txt index 347569c6..4dfedec3 100644 --- a/cmd/testscript/testdata/simple.txt +++ b/cmd/testscript/testdata/simple.txt @@ -11,6 +11,7 @@ stdout 'example.com/mod' -- file.txt -- >env GOMODCACHE=$WORK +>go get -d fruit.com >go list -m >stdout 'example.com/mod' >go list fruit.com/...