mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-05-09 21:59:53 +02:00
ci: Add a shellcheck workflow, and fix SC2086 in develop
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
29ec176179
commit
9cdda9ed9f
2 changed files with 31 additions and 1 deletions
|
@ -6,7 +6,7 @@ trap 'rm -rf "$workdir"' EXIT
|
|||
echo "${INPUT_RUN}" >"${workdir}/run.sh"
|
||||
|
||||
__cmd="develop"
|
||||
if [ "$(basename $0)" = "nix-shell" ]; then
|
||||
if [ "$(basename "$0")" = "nix-shell" ]; then
|
||||
__cmd="shell"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue