diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d0b78a5..8b5bbc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Format - run: if [ "$(go fmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi + run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi if: matrix.os == 'ubuntu-latest' - name: Test run: go test -race ./...