diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-03-04 11:39:45 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-03-04 11:40:43 +0900 |
| commit | dea08758be2ee02b5e2d85ee49aca85a9ea85201 (patch) | |
| tree | a4a34f673bcc30d48ca17872443fc7d854743a81 | |
| parent | 1876782155037d489b0010823f5573a3464bceef (diff) | |
Check for trailing spaces
| -rw-r--r-- | .github/workflows/check_misc.yml | 3 |
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 \ |
