Skip to content

Commit ce7f573

Browse files
committed
fix shell and xml runs
1 parent acc9f96 commit ce7f573

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/shell.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,5 @@ jobs:
5151
- uses: actions/checkout@v4
5252
- uses: docker://pipelinecomponents/shellcheck
5353
with:
54-
args: >-
55-
find .
56-
-not -path '*/.git/*'
57-
-name '*.sh'
58-
-type f
59-
-print0
60-
| xargs -0 -r -n1 shellcheck
54+
# yamllint disable-line rule:line-length
55+
args: /bin/sh -c "find . -not -path '*/.git/*' -name '*.sh' -type f -print0 | xargs -0 -r -n1 shellcheck"

.github/workflows/xml.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,5 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: docker://pipelinecomponents/xmllint
4040
with:
41-
args: >-
42-
find .
43-
-iname '*.xml'
44-
-type f
45-
-exec xmllint --noout {} \+
41+
# yamllint disable-line rule:line-length
42+
args: /bin/sh -c "find . -iname '*.xml' -type f -exec xmllint --noout {} \+"

0 commit comments

Comments
 (0)