PLEASE JUST FUCKING WORK
This commit is contained in:
parent
2d9f8a963c
commit
e25e23ad9e
2
.github/workflows/bash.yml
vendored
2
.github/workflows/bash.yml
vendored
@ -18,4 +18,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 | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done
|
run: cd "$GITHUB_WORKSPACE" for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done
|
Loading…
Reference in New Issue
Block a user