safsaf
This commit is contained in:
parent
3fa2dbbdf5
commit
419a010058
2
.github/workflows/bash.yml
vendored
2
.github/workflows/bash.yml
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user