mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
ci lint: Allow ShellCheck to test source-d scripts.
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.
This commit is contained in:
committed by
Thomas Woerner
parent
480c83f504
commit
785681f100
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -88,3 +88,5 @@ jobs:
|
||||
fetch-depth: 1
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
env:
|
||||
SHELLCHECK_OPTS: -x
|
||||
|
||||
@@ -54,4 +54,7 @@ repos:
|
||||
name: ShellCheck
|
||||
language: system
|
||||
entry: shellcheck
|
||||
files: \.sh$
|
||||
args: ['-x']
|
||||
files: >
|
||||
\.sh$
|
||||
utils/sh*$
|
||||
|
||||
Reference in New Issue
Block a user