aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-11-24 16:59:41 +0100
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-11-24 16:59:41 +0100
commita4f68d5b448e12942f00c1ca5cb9ca05be1e2155 (patch)
tree3e39ef177bfe28f5c2641eb8d919890f02116426
parenta7260f173e7d716dd10ed57b7a85b9955002d103 (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.yml7
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 {} \+