diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index a8ee5bb..ea27f07 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -38,6 +38,14 @@ jobs: with: ref: ${{ github.ref }} + - name: GOFMT Check + run: | + if [ -z $(gofmt -l .) ]; then + exit 0 + else + exit 1 + fi + - name: Run Tests run: | go run build.go vet