ci: drop support for Go 1.13 and 1.14

They aren't supported anymore in CI, and because untested code is broken
code, let's remove support for these Go versions altogether.
This commit is contained in:
Ayke van Laethem
2021-08-15 15:22:18 +02:00
committed by Ron Evans
parent 04f520040e
commit 25c7bfd404
9 changed files with 12 additions and 54 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
if err != nil {
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
}
if major != 1 || minor < 13 || minor > 16 {
return nil, fmt.Errorf("requires go version 1.13 through 1.16, got go%d.%d", major, minor)
if major != 1 || minor < 15 || minor > 16 {
return nil, fmt.Errorf("requires go version 1.15 through 1.16, got go%d.%d", major, minor)
}
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))