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:
committed by
GitHub
parent
6df701fe67
commit
f891fe8d97
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user