Deprecate Go < 1.14 (#1323)

In accordance with our adopted best practices, the main branch and the
next major release of Cobra will deprecate older and un-maintained
versions of Golang.

fix #1322
This commit is contained in:
Joshua Harshman 2021-02-01 15:59:47 -07:00 committed by GitHub
parent 1135bdeceb
commit 1d71ff0270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -6,8 +6,8 @@ stages:
- build
go:
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
- tip
before_install:
@ -19,10 +19,10 @@ matrix:
- go: tip
include:
- stage: diff
go: 1.13.x
go: 1.14.x
script: make fmt
- stage: build
go: 1.13.x
go: 1.14.x
script: make cobra_generator
script:

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/spf13/cobra
go 1.12
go 1.14
require (
github.com/cpuguy83/go-md2man/v2 v2.0.0