mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Check for trailing spaces
This commit is contained in:
parent
1876782155
commit
dea08758be
1 changed files with 3 additions and 0 deletions
3
.github/workflows/check_misc.yml
vendored
3
.github/workflows/check_misc.yml
vendored
|
@ -9,6 +9,9 @@ jobs:
|
||||||
- name: Check if C-sources are US-ASCII
|
- name: Check if C-sources are US-ASCII
|
||||||
run: |
|
run: |
|
||||||
! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch]
|
! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch]
|
||||||
|
- name: Check for trailing spaces
|
||||||
|
run: |
|
||||||
|
! git grep -n '[ ]$' '*.rb' '*.[chy]'
|
||||||
- name: Check for header macros
|
- name: Check for header macros
|
||||||
run: |
|
run: |
|
||||||
! for header in ruby/*.h; do \
|
! for header in ruby/*.h; do \
|
||||||
|
|
Loading…
Reference in a new issue