From 69162a0d829bbcbb7105ab85dc2c905d9cbfc9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20L=C3=B6nnblad?= Date: Thu, 26 Nov 2020 11:43:42 +0100 Subject: [PATCH] Removed go1.12 and added go1.15 to CI config (#356) * Removed go1.12 and added go1.15 to CI config * Updated release-notes --- .circleci/config.yml | 41 +++++++++++++--------------------------- release-notes/v0.11.0.md | 3 +++ 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 199ed2b..eddaf82 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/release-notes/v0.11.0.md b/release-notes/v0.11.0.md index 3b560a3..5b67e96 100644 --- a/release-notes/v0.11.0.md +++ b/release-notes/v0.11.0.md @@ -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 -------------------------------