We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
find
1 parent 80614c8 commit 0efbefaCopy full SHA for 0efbefa
1 file changed
.github/workflows/shell.yml
@@ -38,8 +38,10 @@ jobs:
38
- uses: actions/checkout@v4
39
- run: >-
40
find .
41
- -name '*.sh'
+ -not -name .git
42
-print0
43
+ -regex '.*\.\(ba\)\?sh'
44
+ -type f
45
| xargs -0 -P"$(nproc)" -I{} bash -n "{}"
46
# 03.quality.shell.lint.yml
47
lint-shell-quality:
@@ -51,8 +53,8 @@ jobs:
51
53
with:
52
54
args: >-
55
- \\( -name '*.sh' -o -name '*.bash' \\)
- -type f
56
-not -name .git
57
58
59
60
| xargs -0 -r -n1 shellcheck
0 commit comments