mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-04 23:26:09 +02:00
Limit ShellCheck output to errors and warnings, split by shell type.
This commit is contained in:
parent
9028a7ee94
commit
fff9b71d59
10
.github/workflows/shell-code-quality.yml
vendored
10
.github/workflows/shell-code-quality.yml
vendored
@ -34,5 +34,11 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
docker run --rm koalaman/shellcheck:stable --version
|
||||
find .docker lib/dojo-src utils -type f -name '*.sh' -exec \
|
||||
docker run --rm -v "$PWD:/mnt" -w /mnt koalaman/shellcheck:stable --shell=busybox {} +
|
||||
|
||||
# Scripts ran in the container (Alpine uses BusyBox to provide the ash shell [with bash compatibility enabled])
|
||||
find .docker -type f -name '*.sh' -exec \
|
||||
docker run --rm -v "$PWD:/mnt" -w /mnt koalaman/shellcheck:stable --severity=warning --shell=busybox {} +
|
||||
|
||||
# Project utility scripts (use of bash or compatible assumed)
|
||||
find lib/dojo-src utils -type f -name '*.sh' -exec \
|
||||
docker run --rm -v "$PWD:/mnt" -w /mnt koalaman/shellcheck:stable --severity=warning --shell=bash {} +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user