This commit is contained in:
Kreyren 2020-02-11 17:35:21 +00:00
parent 0e3e5d8d93
commit b81672fe6d

@ -14,5 +14,7 @@ jobs:
steps: steps:
- name: Installing dependencies.. - name: Installing dependencies..
run: if ! apt list --installed | grep -qP ".*shellcheck.*"; then apt install -y shellcheck; fi run: if ! apt list --installed | grep -qP ".*shellcheck.*"; then apt install -y shellcheck; fi
- name: Trying to find my repository
run: find / -type d -name Zernit ; exit 1
- name: Linting.. - name: Linting..
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.bash") ;do shellcheck --external-sources --shell=bash "$file";done run: for file in $(git --no-pager diff --name-only origin/master | ggrep -o ".*\.bash"); do shellcheck --external-sources --shell=bash "$file";done