ci:fmt check ignore xgo_autogen.go

This commit is contained in:
luoliwoshang
2025-06-12 18:55:14 +08:00
parent f48b37a218
commit 3576ed36e2

View File

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