File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Shellcheck
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ shellcheck :
8
+ name : Shellcheck
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - name : Run ShellCheck
13
+
14
+ env :
15
+ SHELLCHECK_OPTS : -x # allow outside sources
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ main() {
58
58
59
59
if [ -e " $crates_script " ]; then
60
60
verbose_say " Sourcing $crates_script "
61
+ # can't find the file because of the ENV var
62
+ # shellcheck source=/dev/null
61
63
. " $crates_script "
62
64
for crate in " ${CRATES[@]} " ; do
63
65
verbose_say " Found crate: $crate "
@@ -120,6 +122,8 @@ build_and_test() {
120
122
verbose_say " Sourcing $test_vars_script "
121
123
if [ -e " $test_vars_script " ]; then
122
124
# Set crate specific variables.
125
+ # can't find the file because of the ENV var
126
+ # shellcheck source=/dev/null
123
127
. " $test_vars_script "
124
128
else
125
129
err " Missing $test_vars_script "
@@ -240,6 +244,8 @@ do_dup_deps() {
240
244
# Add any duplicate dependencies to ignore.
241
245
if [ -e " $duplicate_deps_script " ]; then
242
246
verbose_say " Sourcing $duplicate_deps_script "
247
+ # can't find the file because of the ENV var
248
+ # shellcheck source=/dev/null
243
249
. " $duplicate_deps_script "
244
250
245
251
if [ -n " ${DUPLICATE_DEPS+x} " ]; then
You can’t perform that action at this time.
0 commit comments