mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 07:45:22 +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
|
||||
env:
|
||||
SHELLCHECK_OPTS: --shell=bash --external-sources
|
||||
INPUT_ADDITIONAL_FILE_ARGS: -o -name '*.envsh'
|
||||
with:
|
||||
scandir: ./docker/
|
||||
|
||||
|
|
|
@ -32,16 +32,20 @@ fi
|
|||
pecl install "${PHP_PECL_EXTENSIONS}" "${PHP_PECL_EXTENSIONS_EXTRA}"
|
||||
|
||||
# PHP extensions (dependencies)
|
||||
#
|
||||
# shellcheck disable=SC2086
|
||||
docker-php-ext-install \
|
||||
-j "$(nproc)" \
|
||||
"${PHP_EXTENSIONS}" \
|
||||
"${PHP_EXTENSIONS_EXTRA}" \
|
||||
"${PHP_EXTENSIONS_DATABASE}"
|
||||
${PHP_EXTENSIONS} \
|
||||
${PHP_EXTENSIONS_EXTRA} \
|
||||
${PHP_EXTENSIONS_DATABASE}
|
||||
|
||||
# Enable all extensions
|
||||
#
|
||||
# shellcheck disable=SC2086
|
||||
docker-php-ext-enable \
|
||||
"${PHP_PECL_EXTENSIONS}" \
|
||||
"${PHP_PECL_EXTENSIONS_EXTRA}" \
|
||||
"${PHP_EXTENSIONS}" \
|
||||
"${PHP_EXTENSIONS_EXTRA}" \
|
||||
"${PHP_EXTENSIONS_DATABASE}"
|
||||
${PHP_PECL_EXTENSIONS} \
|
||||
${PHP_PECL_EXTENSIONS_EXTRA} \
|
||||
${PHP_EXTENSIONS} \
|
||||
${PHP_EXTENSIONS_EXTRA} \
|
||||
${PHP_EXTENSIONS_DATABASE}
|
||||
|
|
Loading…
Reference in a new issue