File tree Expand file tree Collapse file tree 6 files changed +16
-2
lines changed Expand file tree Collapse file tree 6 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 89
89
- name : Run shellcheck
90
90
uses : ludeeus/action-shellcheck@master
91
91
env :
92
- SHELLCHECK_OPTS : -s bash -x -e SC2001 --norc
92
+ SHELLCHECK_OPTS : -x - s bash -e SC2001 --norc
93
93
94
94
compilation :
95
95
name : Check compilation
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
4
+ # see comment in generator-utils/utils.sh
5
+ # shellcheck source=bin/generator-utils/utils.sh
6
+ # shellcheck source=bin/generator-utils/templates.sh
7
+ # shellcheck source=bin/generator-utils/prompts.sh
4
8
# shellcheck source=./generator-utils/utils.sh
5
9
# shellcheck source=./generator-utils/prompts.sh
6
10
# shellcheck source=./generator-utils/templates.sh
Original file line number Diff line number Diff line change 5
5
set -euo pipefail
6
6
7
7
8
+ # see comment in generator-utils/utils.sh
9
+ # shellcheck source=bin/generator-utils/utils.sh
8
10
# shellcheck source=./generator-utils/utils.sh
9
11
source ./bin/generator-utils/utils.sh
10
12
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
4
+ # see comment in utils.sh
5
+ # shellcheck source=bin/generator-utils/colors.sh
4
6
# shellcheck source=./colors.sh
5
7
source ./bin/generator-utils/colors.sh
6
8
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ # see comment in utils.sh
4
+ # shellcheck source=bin/generator-utils/utils.sh
3
5
# shellcheck source=./utils.sh
4
6
source ./bin/generator-utils/utils.sh
5
7
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
-
3
+ # top one gets evaluated
4
+ # relative one is needed for .shellcheckrc to test if files exist in local env
5
+ # absolute one is needed for CI to test if files exist
6
+ # before commit - swap these accordingly
7
+ # shellcheck source=bin/generator-utils/colors.sh
4
8
# shellcheck source=./colors.sh
5
9
source ./bin/generator-utils/colors.sh
6
10
You can’t perform that action at this time.
0 commit comments