fmt: ignore gop_autogen.go

This commit is contained in:
xushiwei
2025-05-04 14:08:43 +08:00
parent cc08195cf2
commit b9a2bf4b42

View File

@@ -21,7 +21,7 @@ jobs:
run: |
for dir in . runtime; do
pushd $dir
if [ -n "$(go fmt ./...)" ]; then
if [ -n "$(go fmt ./... | grep -v gop_autogen.go)" ]; then
echo "Some files are not properly formatted. Please run 'go fmt ./...'"
exit 1
fi