[gitlab] Use bash/posix style CI for .zsh/.sh files
This commit is contained in:
parent
7e302d8770
commit
21c40fa774
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# This file is a template, and might need editing before it works on your project.
|
# This file is a template, and might need editing before it works on your project.
|
||||||
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
|
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
|
||||||
|
|
||||||
|
@ -10,9 +11,9 @@ shellcheck:
|
||||||
- shellcheck --version
|
- shellcheck --version
|
||||||
script:
|
script:
|
||||||
- echo "--------- CHECKING POSIX SHELLSCRIPTS -------------"
|
- echo "--------- CHECKING POSIX SHELLSCRIPTS -------------"
|
||||||
- find . -type f -name '*.sh' | xargs shellcheck
|
- find . -type f -name '*.sh' | xargs shellcheck -s sh
|
||||||
- echo "--------- CHECKING ZSH SHELLSCRIPTS -------------"
|
- echo "--------- CHECKING ZSH SHELLSCRIPTS -------------"
|
||||||
- find . -type f -name '*.zsh' | xargs shellcheck
|
- find . -type f -name '*.zsh' | xargs shellcheck -s bash
|
||||||
|
|
||||||
shfmt:
|
shfmt:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue