1
0
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:
Gábor Lipták
2019-03-01 01:59:36 -05:00
committed by Reinhard Nägele
parent ebf0014515
commit bdb3543053
2 changed files with 4 additions and 1 deletions

View File

@@ -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: |

View File

@@ -95,4 +95,3 @@ func lint(cmd *cobra.Command, args []string) {
os.Exit(1)
}
}