Skip to content

Commit

Permalink
ci lint: Allow ShellCheck to test source-d scripts.
Browse files Browse the repository at this point in the history
As the scripts 'utils/run-tests.sh' and 'utils/setup_test_container.sh'
use some scripts as function libraries, this change forces shellcheck to
also verify those scripts.
  • Loading branch information
rjeffman committed Jul 20, 2024
1 parent 19c3343 commit 7120015
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@ jobs:
fetch-depth: 1
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ repos:
name: ShellCheck
language: system
entry: shellcheck
files: \.sh$
args: ['-x']
files: >
\.sh$
utils/sh*$

0 comments on commit 7120015

Please sign in to comment.