Removed go1.12 and added go1.15 to CI config (#356)
* Removed go1.12 and added go1.15 to CI config * Updated release-notes
Этот коммит содержится в:
родитель
2f80d08545
коммит
69162a0d82
2 изменённых файлов: 16 добавлений и 28 удалений
|
@ -4,15 +4,15 @@ orbs:
|
|||
codecov: codecov/codecov@1.0.5
|
||||
|
||||
executors:
|
||||
exec_go_1_12:
|
||||
docker:
|
||||
- image: circleci/golang:1.12.17
|
||||
exec_go_1_13:
|
||||
docker:
|
||||
- image: circleci/golang:1.13.11
|
||||
- image: circleci/golang:1.13.15
|
||||
exec_go_1_14:
|
||||
docker:
|
||||
- image: circleci/golang:1.14.4
|
||||
- image: circleci/golang:1.14.12
|
||||
exec_go_1_15:
|
||||
docker:
|
||||
- image: circleci/golang:1.15.5
|
||||
|
||||
commands:
|
||||
fmt:
|
||||
|
@ -25,11 +25,6 @@ commands:
|
|||
- run: go get -u golang.org/x/lint/golint
|
||||
- run: golint -set_exit_status ./...
|
||||
- run: cd _examples && golint -set_exit_status ./... && cd ..
|
||||
install:
|
||||
description: "Install dependencies for go1.12"
|
||||
steps:
|
||||
- run: GO111MODULE=on go mod vendor
|
||||
- run: cd _examples/db && GO111MODULE=on go mod vendor && cd ..
|
||||
vet:
|
||||
description: "Run go vet"
|
||||
steps:
|
||||
|
@ -51,33 +46,18 @@ commands:
|
|||
steps:
|
||||
- codecov/upload:
|
||||
file: "coverage.txt"
|
||||
part1:
|
||||
description: "Part1 include all commands that doesn't need dependencies installed"
|
||||
all:
|
||||
description: "Run all commands against godog code"
|
||||
steps:
|
||||
- checkout
|
||||
- fmt
|
||||
- lint
|
||||
part2:
|
||||
description: "Part2 is the all other commands"
|
||||
steps:
|
||||
- vet
|
||||
- go_test
|
||||
- godog
|
||||
- coverage
|
||||
all:
|
||||
description: "Run all commands against godog code"
|
||||
steps:
|
||||
- part1
|
||||
- part2
|
||||
|
||||
jobs:
|
||||
go1_12:
|
||||
working_directory: /go/src/github.com/cucumber/godog
|
||||
executor: exec_go_1_12
|
||||
steps:
|
||||
- part1
|
||||
- install
|
||||
- part2
|
||||
go1_13:
|
||||
working_directory: /go/src/github.com/cucumber/godog
|
||||
executor: exec_go_1_13
|
||||
|
@ -88,11 +68,16 @@ jobs:
|
|||
executor: exec_go_1_14
|
||||
steps:
|
||||
- all
|
||||
go1_15:
|
||||
working_directory: /go/src/github.com/cucumber/godog
|
||||
executor: exec_go_1_15
|
||||
steps:
|
||||
- all
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
test:
|
||||
jobs:
|
||||
- go1_12
|
||||
- go1_13
|
||||
- go1_14
|
||||
- go1_15
|
||||
|
|
|
@ -26,6 +26,9 @@ A lot of the internal code that used to be in the main godog package has been mo
|
|||
|
||||
The reason for this is mainly for decoupling to allow for simpler tests and to make the codebase easier to work with in general.
|
||||
|
||||
### Added official support for go1.15 and removed support for go1.12
|
||||
With the introduction of go1.15, go1.15 is now officially supported and go1.12 has been removed, this is since godog supports the 3 latest versions of golang.
|
||||
|
||||
Non Backward Compatible Changes
|
||||
-------------------------------
|
||||
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче