mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
Add gofmt to CircleCI (#107)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
This commit is contained in:
committed by
Reinhard Nägele
parent
ebf0014515
commit
bdb3543053
@@ -27,6 +27,10 @@ jobs:
|
||||
rm -rf goreleaser_Linux_x86_64.tar.gz
|
||||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
- checkout
|
||||
- run:
|
||||
name: gofmt
|
||||
command: |
|
||||
gofmt -w -s . && git diff --exit-code
|
||||
- run:
|
||||
name: Build
|
||||
command: |
|
||||
|
||||
@@ -95,4 +95,3 @@ func lint(cmd *cobra.Command, args []string) {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user