1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-17 21:18:31 +02:00

add gofmt to circle

This commit is contained in:
Anthony HAMON 2018-08-26 02:17:46 +02:00
parent 4b19b4108e
commit 2d9f7009fa

View File

@ -10,6 +10,13 @@ jobs:
- restore_cache:
keys:
- v1-pkg-cache
- run:
name: Run gofmt -s
command: |
if [ $(find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
exit 1;
fi
- run:
name: Run tests
command: |