run the gofmt on the latest version of go on ubuntu

This commit is contained in:
Ajitem Sahasrabuddhe 2020-01-25 23:30:42 +05:30
parent d114940d57
commit 7841e146ee

View File

@ -39,6 +39,7 @@ jobs:
ref: ${{ github.ref }} ref: ${{ github.ref }}
- name: GOFMT Check - name: GOFMT Check
if: matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
run: | run: |
if [ -z $(gofmt -l .) ]; then if [ -z $(gofmt -l .) ]; then
exit 0 exit 0