Add Format check

This commit is contained in:
Aoang 2022-08-15 10:22:11 +08:00
parent 64509549c3
commit ac9c704a12
No known key found for this signature in database
GPG Key ID: A6D5F8F81D65AEB5

View File

@ -68,6 +68,10 @@ jobs:
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.os }},go-${{ matrix.go }},${{ matrix.test-tags }}
- name: Format
if: matrix.go-version == '1.19.x'
run: diff -u <(echo -n) <(gofmt -d .)
notification-gitter:
needs: test
runs-on: ubuntu-latest