mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
implement automatic shellcheck linting
This commit is contained in:
parent
f2f2517503
commit
b2d6d3dbe7
2 changed files with 13 additions and 8 deletions
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -48,6 +48,7 @@ jobs:
|
||||||
uses: ludeeus/action-shellcheck@master
|
uses: ludeeus/action-shellcheck@master
|
||||||
env:
|
env:
|
||||||
SHELLCHECK_OPTS: --shell=bash --external-sources
|
SHELLCHECK_OPTS: --shell=bash --external-sources
|
||||||
|
INPUT_ADDITIONAL_FILE_ARGS: -o -name '*.envsh'
|
||||||
with:
|
with:
|
||||||
scandir: ./docker/
|
scandir: ./docker/
|
||||||
|
|
||||||
|
|
|
@ -32,16 +32,20 @@ fi
|
||||||
pecl install "${PHP_PECL_EXTENSIONS}" "${PHP_PECL_EXTENSIONS_EXTRA}"
|
pecl install "${PHP_PECL_EXTENSIONS}" "${PHP_PECL_EXTENSIONS_EXTRA}"
|
||||||
|
|
||||||
# PHP extensions (dependencies)
|
# PHP extensions (dependencies)
|
||||||
|
#
|
||||||
|
# shellcheck disable=SC2086
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
-j "$(nproc)" \
|
-j "$(nproc)" \
|
||||||
"${PHP_EXTENSIONS}" \
|
${PHP_EXTENSIONS} \
|
||||||
"${PHP_EXTENSIONS_EXTRA}" \
|
${PHP_EXTENSIONS_EXTRA} \
|
||||||
"${PHP_EXTENSIONS_DATABASE}"
|
${PHP_EXTENSIONS_DATABASE}
|
||||||
|
|
||||||
# Enable all extensions
|
# Enable all extensions
|
||||||
|
#
|
||||||
|
# shellcheck disable=SC2086
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
"${PHP_PECL_EXTENSIONS}" \
|
${PHP_PECL_EXTENSIONS} \
|
||||||
"${PHP_PECL_EXTENSIONS_EXTRA}" \
|
${PHP_PECL_EXTENSIONS_EXTRA} \
|
||||||
"${PHP_EXTENSIONS}" \
|
${PHP_EXTENSIONS} \
|
||||||
"${PHP_EXTENSIONS_EXTRA}" \
|
${PHP_EXTENSIONS_EXTRA} \
|
||||||
"${PHP_EXTENSIONS_DATABASE}"
|
${PHP_EXTENSIONS_DATABASE}
|
||||||
|
|
Loading…
Reference in a new issue