This commit is contained in:
Kreyren 2020-02-11 18:33:34 +00:00
parent 3fa2dbbdf5
commit 419a010058

@ -16,4 +16,4 @@ jobs:
- name: Installing dependencies.. - name: Installing dependencies..
run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi
- name: Linting.. - name: Linting..
run: for file in $(git --git-dir="$GITHUB_WORKSPACE/.git" --no-pager diff --name-only origin/master | ggrep -o ".*\.bash"); do shellcheck --external-sources --shell=bash "$file";done run: for file in $(git --git-dir="$GITHUB_WORKSPACE/.git" --no-pager diff --name-only origin/master | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done