Merge pull request #4586 from tianon/go1.19min

Update minimum Go version to 1.19
This commit is contained in:
Sebastiaan van Stijn 2023-09-29 10:00:07 +02:00 committed by GitHub
commit 05bec8dd43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -18,12 +18,12 @@ init() {
cat > go.mod <<EOL cat > go.mod <<EOL
module github.com/docker/cli module github.com/docker/cli
go 1.18 go 1.19
EOL EOL
} }
update() { update() {
(set -x ; go mod tidy -compat=1.18 -modfile=vendor.mod; go mod vendor -modfile=vendor.mod) (set -x ; go mod tidy -compat=1.19 -modfile=vendor.mod; go mod vendor -modfile=vendor.mod)
} }
validate() { validate() {

View File

@ -4,7 +4,7 @@ module github.com/docker/cli
// There is no 'go.mod' file, as that would imply opting in for all the rules // There is no 'go.mod' file, as that would imply opting in for all the rules
// around SemVer, which this repo cannot abide by as it uses CalVer. // around SemVer, which this repo cannot abide by as it uses CalVer.
go 1.18 go 1.19
require ( require (
dario.cat/mergo v1.0.0 dario.cat/mergo v1.0.0