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 Jun 29, 2024
1 parent ddc0132 commit 95d9e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ repos:
name: ShellCheck
language: system
entry: shellcheck
args: ['-x']
files: \.sh$

0 comments on commit 95d9e03

Please sign in to comment.