Just one formatting job
@@ -25,24 +25,7 @@ jobs:
- go-mod-v1-{{ checksum "go.sum" }}
- run: curl -sL https://git.io/goreleaser | bash
- branch-formatting:
- docker:
- - image: kudobuilder/golang:1.12
- working_directory: /go/src/github.com/kudobuilder/kudo
- steps:
- - checkout
- - restore_cache:
- keys:
- - go-mod-v1-{{ checksum "go.sum" }}
-
- - run: make check-formatting
- - save_cache:
- key: go-mod-v1-{{ checksum "go.sum" }}
- paths:
- - "/go/pkg/mod"
- - "/go/bin"
-
- merge-formatting:
+ code-formatting:
docker:
- image: kudobuilder/golang:1.12
working_directory: /go/src/github.com/kudobuilder/kudo
@@ -66,8 +49,7 @@ workflows:
version: 2
formatting:
jobs:
- - branch-formatting
- - merge-formatting
+ - code-formatting
- test
release:
jobs:
