diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 2f4bbc7093..c116011d86 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -9,6 +9,9 @@ jobs: - name: Check if C-sources are US-ASCII run: | ! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch] + - name: Check for trailing spaces + run: | + ! git grep -n '[ ]$' '*.rb' '*.[chy]' - name: Check for header macros run: | ! for header in ruby/*.h; do \