Added pipeline step for checking all shell scripts in the repo

Indrek Haav
2021-11-18 22:31:53 +02:00
parent a8777bb375
commit f07191cf55

@@ -11,4 +11,14 @@ steps:
image: koalaman/shellcheck-alpine:stable image: koalaman/shellcheck-alpine:stable
commands: commands:
- "shellcheck testScript.sh" - "shellcheck testScript.sh"
```
To check all .sh files in the repo:
```yaml
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- "find . -name *.sh -exec shellcheck {} +"
``` ```