From 5fbb84e69cd9c3d9d11a6cb467403764f7fe5efe Mon Sep 17 00:00:00 2001 From: Jayson Smith Date: Thu, 6 Feb 2020 20:38:51 -0700 Subject: [PATCH] Remove env and refactor install to command --- .circleci/config.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6fb947d..661b654 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,8 +4,6 @@ executors: exec_go_1_11: docker: - image: circleci/golang:1.11.13 - environment: - CGO_ENABLED: 0 commands: vet: @@ -20,6 +18,10 @@ commands: steps: - run: test -z "$(go fmt ./...)" + install_cmd: + steps: + - run: GO111MODULE=off go install ./cmd/godog + godog: description: "Run godog" steps: @@ -34,9 +36,9 @@ commands: description: "Run all commands against godog code" steps: - checkout - # - vet - # - fmt - - run: GO111MODULE=off go install ./cmd/godog + - vet + - fmt + - install_cmd - godog - go_test