ci: test on go 1.14 (#138)

Add go 1.14 to CI testing. Upgrade golang.org/x/tools dependency to resolve golang/go#37617.
This commit is contained in:
Michael McLoughlin
2020-04-25 01:27:57 -07:00
committed by GitHub
parent 6df701fe67
commit f891fe8d97
6 changed files with 22 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ func TestLookupSignatureErrors(t *testing.T) {
func LoadPackageTypes(t *testing.T, path string) *types.Package {
t.Helper()
cfg := &packages.Config{
Mode: packages.NeedTypes,
Mode: packages.NeedTypes | packages.NeedDeps | packages.NeedImports,
}
pkgs, err := packages.Load(cfg, path)
if err != nil {