summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-15 13:49:52 +0900
committerGitHub <[email protected]>2021-02-15 13:49:52 +0900
commit61370ca98c6a5853cb35c1491a2b310107aa4403 (patch)
treeab29ca770a80ed039f35b6b6a2e6c43366f4c88e /.github
parent2725755bc52effd4446f46cda8fbdd31b692c813 (diff)
parent4203e574e3360df15a7bd7d5a29f311aa5f7caf6 (diff)
downloadmruby-61370ca98c6a5853cb35c1491a2b310107aa4403.tar.gz
mruby-61370ca98c6a5853cb35c1491a2b310107aa4403.zip
Merge pull request #5350 from shuujii/refine-checking-for-trailing-whitespace
Refine checking for trailing whitespace [skip travis][skip appveyor]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e8db09bfb..474890010 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -32,9 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: 🧹 Check for trailing whitespace
- run: |
- cd test || exit
- sh ./check-for-trailing-whitespace.sh || exit 1
+ run: "! git grep -EIn $'[ \t]+$'"
yamllint:
name: 🍶 YAML
runs-on: ubuntu-latest