Skip to content

Commit bdb3543

Browse files
gliptakunguiculus
authored andcommitted
Add gofmt to CircleCI (#107)
Signed-off-by: Gábor Lipták <[email protected]>
1 parent ebf0014 commit bdb3543

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
rm -rf goreleaser_Linux_x86_64.tar.gz
2828
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
2929
- checkout
30+
- run:
31+
name: gofmt
32+
command: |
33+
gofmt -w -s . && git diff --exit-code
3034
- run:
3135
name: Build
3236
command: |

ct/cmd/lint.go

-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,3 @@ func lint(cmd *cobra.Command, args []string) {
9595
os.Exit(1)
9696
}
9797
}
98-

0 commit comments

Comments
 (0)