Skip to content

Commit

Permalink
Removed go1.12 and added go1.15 to CI config (#356)
Browse files Browse the repository at this point in the history
* Removed go1.12 and added go1.15 to CI config

* Updated release-notes
  • Loading branch information
lonnblad authored Nov 26, 2020
1 parent 2f80d08 commit 69162a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 28 deletions.
41 changes: 13 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
3 changes: 3 additions & 0 deletions release-notes/v0.11.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------

Expand Down

0 comments on commit 69162a0

Please sign in to comment.