dd
This commit is contained in:
parent
79fd167c65
commit
742a2e749a
1 changed files with 2 additions and 6 deletions
|
@ -32,9 +32,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
image: koalaman/shellcheck-alpine:v0.10.0
|
image: koalaman/shellcheck-alpine:v0.10.0
|
||||||
run: |
|
run: |
|
||||||
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
|
shellcheck shell.sh
|
||||||
if echo "$line" | grep -q "shell script"; then
|
# shellcheck file2
|
||||||
file_path=$(echo "$line" | awk -F':' '{print $1}')
|
|
||||||
shellcheck "$file_path"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue