Skip to content

Commit 01e558e

Browse files
committedFeb 22, 2021
Add gofmt check
1 parent c2c026c commit 01e558e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ services:
66
volumes:
77
- .:/code
88
working_dir: /code
9-
command: go test
9+
command: sh -c 'if gofmt -s -l . > /dev/null; then exit 1; fi; go test'

0 commit comments

Comments
 (0)