summaryrefslogtreecommitdiff
path: root/.github/workflows/check_misc.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-24 11:41:18 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-24 12:30:09 +0900
commit92f29349d5515fa65a88c0f6f6e05fef79b66cfa (patch)
tree2407b4d63984e460034632e4174ad2a87d2cf205 /.github/workflows/check_misc.yml
parent25c1204fe730868e63919820ce0ab372768f6188 (diff)
Use extquote instead of literal tabs [ci skip]
Diffstat (limited to '.github/workflows/check_misc.yml')
-rw-r--r--.github/workflows/check_misc.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml
index 269c62ee08..f8f2280005 100644
--- a/.github/workflows/check_misc.yml
+++ b/.github/workflows/check_misc.yml
@@ -28,12 +28,12 @@ jobs:
- name: Check if C-sources are US-ASCII
run: |
- grep -r -n '[^ -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || :
+ grep -r -n $'[^\t -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || :
- name: Check for trailing spaces
run: |
- git grep -I -n '[ ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || :
- git grep -n '^[ ][ ]*$' -- '*.md' && exit 1 || :
+ git grep -I -n $'[\t ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || :
+ git grep -n $'^[\t ][\t ]*$' -- '*.md' && exit 1 || :
- name: Check for bash specific substitution in configure.ac
run: |