We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b94742 commit 91c0c6bCopy full SHA for 91c0c6b
.github/workflows/test.yml
@@ -73,3 +73,17 @@ jobs:
73
else
74
echo "Line length check passed."
75
fi
76
+
77
+ - name: Check empty trailing lines
78
+ run: |
79
+ # Run check_empty_trailing_lines and capture output
80
+ output=$(make check_empty_trailing_lines)
81
82
+ # Check if the output contains "ERROR"
83
+ if echo "$output" | grep -q "ERROR"; then
84
+ echo "::error::Empty trailing lines check failed. Some files have empty trailing lines."
85
+ echo "$output"
86
+ exit 1
87
+ else
88
+ echo "Empty trailing lines check passed."
89
+ fi
0 commit comments