summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check_misc.yml3
1 files changed, 3 insertions, 0 deletions
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 \