Skip to content

Commit 69162a0

Browse files
authored
Removed go1.12 and added go1.15 to CI config (cucumber#356)
* Removed go1.12 and added go1.15 to CI config * Updated release-notes
1 parent 2f80d08 commit 69162a0

File tree

2 files changed

+16
-28
lines changed

2 files changed

+16
-28
lines changed

.circleci/config.yml

+13-28
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ orbs:
44
codecov: codecov/[email protected]
55

66
executors:
7-
exec_go_1_12:
8-
docker:
9-
- image: circleci/golang:1.12.17
107
exec_go_1_13:
118
docker:
12-
- image: circleci/golang:1.13.11
9+
- image: circleci/golang:1.13.15
1310
exec_go_1_14:
1411
docker:
15-
- image: circleci/golang:1.14.4
12+
- image: circleci/golang:1.14.12
13+
exec_go_1_15:
14+
docker:
15+
- image: circleci/golang:1.15.5
1616

1717
commands:
1818
fmt:
@@ -25,11 +25,6 @@ commands:
2525
- run: go get -u golang.org/x/lint/golint
2626
- run: golint -set_exit_status ./...
2727
- run: cd _examples && golint -set_exit_status ./... && cd ..
28-
install:
29-
description: "Install dependencies for go1.12"
30-
steps:
31-
- run: GO111MODULE=on go mod vendor
32-
- run: cd _examples/db && GO111MODULE=on go mod vendor && cd ..
3328
vet:
3429
description: "Run go vet"
3530
steps:
@@ -51,33 +46,18 @@ commands:
5146
steps:
5247
- codecov/upload:
5348
file: "coverage.txt"
54-
part1:
55-
description: "Part1 include all commands that doesn't need dependencies installed"
49+
all:
50+
description: "Run all commands against godog code"
5651
steps:
5752
- checkout
5853
- fmt
5954
- lint
60-
part2:
61-
description: "Part2 is the all other commands"
62-
steps:
6355
- vet
6456
- go_test
6557
- godog
6658
- coverage
67-
all:
68-
description: "Run all commands against godog code"
69-
steps:
70-
- part1
71-
- part2
7259

7360
jobs:
74-
go1_12:
75-
working_directory: /go/src/github.com/cucumber/godog
76-
executor: exec_go_1_12
77-
steps:
78-
- part1
79-
- install
80-
- part2
8161
go1_13:
8262
working_directory: /go/src/github.com/cucumber/godog
8363
executor: exec_go_1_13
@@ -88,11 +68,16 @@ jobs:
8868
executor: exec_go_1_14
8969
steps:
9070
- all
71+
go1_15:
72+
working_directory: /go/src/github.com/cucumber/godog
73+
executor: exec_go_1_15
74+
steps:
75+
- all
9176

9277
workflows:
9378
version: 2
9479
test:
9580
jobs:
96-
- go1_12
9781
- go1_13
9882
- go1_14
83+
- go1_15

release-notes/v0.11.0.md

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ A lot of the internal code that used to be in the main godog package has been mo
2626

2727
The reason for this is mainly for decoupling to allow for simpler tests and to make the codebase easier to work with in general.
2828

29+
### Added official support for go1.15 and removed support for go1.12
30+
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.
31+
2932
Non Backward Compatible Changes
3033
-------------------------------
3134

0 commit comments

Comments
 (0)