Skip to content

Commit

Permalink
Just one formatting job (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkacz authored and kensipe committed Jun 6, 2019
1 parent 06e17c3 commit 1c6dace
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -66,8 +49,7 @@ workflows:
version: 2
formatting:
jobs:
- branch-formatting
- merge-formatting
- code-formatting
- test
release:
jobs:
Expand Down

0 comments on commit 1c6dace

Please sign in to comment.