fmt: ignore gop_autogen.go
This commit is contained in:
2
.github/workflows/fmt.yml
vendored
2
.github/workflows/fmt.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for dir in . runtime; do
|
for dir in . runtime; do
|
||||||
pushd $dir
|
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 ./...'"
|
echo "Some files are not properly formatted. Please run 'go fmt ./...'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user