Enabled Format check in CI

This commit is contained in:
Akshay Gaikwad
2022-03-09 16:44:19 +05:30
parent 7fb98b969d
commit 5e79cf350b

View File

@@ -22,8 +22,8 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
# - name: Format
# run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Test all
run: go test -v ./...