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
|
codecov: codecov/codecov@1.0.5
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
exec_go_1_12:
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.12.17
|
|
||||||
exec_go_1_13:
|
exec_go_1_13:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.13.11
|
- image: circleci/golang:1.13.15
|
||||||
exec_go_1_14:
|
exec_go_1_14:
|
||||||
docker:
|
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:
|
commands:
|
||||||
fmt:
|
fmt:
|
||||||
|
@ -25,11 +25,6 @@ commands:
|
||||||
- run: go get -u golang.org/x/lint/golint
|
- run: go get -u golang.org/x/lint/golint
|
||||||
- run: golint -set_exit_status ./...
|
- run: golint -set_exit_status ./...
|
||||||
- run: cd _examples && golint -set_exit_status ./... && cd ..
|
- 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:
|
vet:
|
||||||
description: "Run go vet"
|
description: "Run go vet"
|
||||||
steps:
|
steps:
|
||||||
|
@ -51,33 +46,18 @@ commands:
|
||||||
steps:
|
steps:
|
||||||
- codecov/upload:
|
- codecov/upload:
|
||||||
file: "coverage.txt"
|
file: "coverage.txt"
|
||||||
part1:
|
all:
|
||||||
description: "Part1 include all commands that doesn't need dependencies installed"
|
description: "Run all commands against godog code"
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- fmt
|
- fmt
|
||||||
- lint
|
- lint
|
||||||
part2:
|
|
||||||
description: "Part2 is the all other commands"
|
|
||||||
steps:
|
|
||||||
- vet
|
- vet
|
||||||
- go_test
|
- go_test
|
||||||
- godog
|
- godog
|
||||||
- coverage
|
- coverage
|
||||||
all:
|
|
||||||
description: "Run all commands against godog code"
|
|
||||||
steps:
|
|
||||||
- part1
|
|
||||||
- part2
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
go1_12:
|
|
||||||
working_directory: /go/src/github.com/cucumber/godog
|
|
||||||
executor: exec_go_1_12
|
|
||||||
steps:
|
|
||||||
- part1
|
|
||||||
- install
|
|
||||||
- part2
|
|
||||||
go1_13:
|
go1_13:
|
||||||
working_directory: /go/src/github.com/cucumber/godog
|
working_directory: /go/src/github.com/cucumber/godog
|
||||||
executor: exec_go_1_13
|
executor: exec_go_1_13
|
||||||
|
@ -88,11 +68,16 @@ jobs:
|
||||||
executor: exec_go_1_14
|
executor: exec_go_1_14
|
||||||
steps:
|
steps:
|
||||||
- all
|
- all
|
||||||
|
go1_15:
|
||||||
|
working_directory: /go/src/github.com/cucumber/godog
|
||||||
|
executor: exec_go_1_15
|
||||||
|
steps:
|
||||||
|
- all
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- go1_12
|
|
||||||
- go1_13
|
- go1_13
|
||||||
- go1_14
|
- 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.
|
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
|
Non Backward Compatible Changes
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче