zammad-docker-compose/.github/lint-scripts.sh
André Bauer 33beea77df
test github action (#136)
* changed github action
2020-02-27 00:33:46 +01:00

18 lines
228 B
Bash
Executable File

#!/bin/sh
#
# lint bash scripts
#
set -o errexit
TMP_FILE="$(mktemp)"
find . -type f -name "*.sh" > "${TMP_FILE}"
while read -r FILE; do
echo lint "${FILE}"
shellcheck -x "${FILE}"
done < "${TMP_FILE}"
rm "${TMP_FILE}"