Enabled Format check in CI

This commit is contained in:
Akshay Gaikwad
2022-03-21 12:25:58 +05:30
parent 7fb98b969d
commit 5e79cf350b
+2 -2
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 ./...