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 - build
go: go:
- 1.12.x - 1.14.x
- 1.13.x - 1.15.x
- tip - tip
before_install: before_install:
@ -19,10 +19,10 @@ matrix:
- go: tip - go: tip
include: include:
- stage: diff - stage: diff
go: 1.13.x go: 1.14.x
script: make fmt script: make fmt
- stage: build - stage: build
go: 1.13.x go: 1.14.x
script: make cobra_generator script: make cobra_generator
script: script:

2
go.mod
View file

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