From 2658695a35e857214d3273b4112aefb2d316459e Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 31 Oct 2022 20:13:36 +0100 Subject: [PATCH] build: bump minimum Go version to 1.18, as a dependency in ./tools requires it https://app.circleci.com/pipelines/github/zrepl/zrepl/6085/workflows/bf5b11f2-8dc4-40a2-bb7a-fcf3cf8205d4/jobs/42340 ... build github.com/golangci/golangci-lint/cmd/golangci-lint: cannot load io/fs: cannot find module providing package io/fs go install github.com/wadey/gocovmerge go: downloading github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad go: extracting github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad go install golang.org/x/tools/cmd/goimports # golang.org/x/mod/module ../../go/pkg/mod/golang.org/x/mod@v0.6.0/module/module.go:147:5: undefined: errors.As note: module requires Go 1.17 go install golang.org/x/tools/cmd/stringer # golang.org/x/tools/go/internal/gcimporter ../../go/pkg/mod/golang.org/x/tools@v0.2.0/go/internal/gcimporter/iimport.go:520:9: undefined: constant.Make ../../go/pkg/mod/golang.org/x/tools@v0.2.0/go/internal/gcimporter/iimport.go:616:9: undefined: constant.Make note: module requires Go 1.18 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc go: downloading google.golang.org/grpc v1.46.2 go: extracting google.golang.org/grpc v1.46.2 go: downloading google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 go: extracting google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 go install google.golang.org/protobuf/cmd/protoc-gen-go Exited with code exit status 123 --- .circleci/config.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7470739..0bb129b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -177,7 +177,7 @@ workflows: matrix: &quickcheck-go-matrix alias: quickcheck-go-matrix parameters: - goversion: [*latest-go-release, "1.12"] + goversion: [*latest-go-release, "1.18"] goos: ["linux", "freebsd"] goarch: ["amd64", "arm64"] exclude: @@ -185,10 +185,6 @@ workflows: - goversion: *latest-go-release goos: linux goarch: amd64 - # not supported by Go 1.12 - - goversion: "1.12" - goos: freebsd - goarch: arm64 release: when: << pipeline.parameters.do_release >>