diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-11-24 16:59:41 +0100 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-11-24 16:59:41 +0100 |
commit | a4f68d5b448e12942f00c1ca5cb9ca05be1e2155 (patch) | |
tree | 3e39ef177bfe28f5c2641eb8d919890f02116426 | |
parent | a7260f173e7d716dd10ed57b7a85b9955002d103 (diff) |
.gitlab-ci.yml: run shellcheck on all shell scripts
Let's run shellcheck on all our current and future shell scripts so we
can catch mistakes before they reach users.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47fd843..d002c92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,3 +9,10 @@ flake8: name: docker.io/alpine/flake8:6.0.0 entrypoint: [""] script: flake8 . + +shellcheck: + tags: + - docker + stage: linting + image: docker.io/koalaman/shellcheck-alpine:v0.9.0 + script: find -name "*.sh" -exec shellcheck {} \+ |