mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Refine checking for trailing whitespace [skip travis][skip appveyor]
* Include tabs in checking. * Use `git grep` to avoid including `.git` directory. * Avoid running `grep` multiple times.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user