Repository navigation
Commit eecda89
authored
Lint the action's run body with the pinned shellcheck (#5)
ci.yml checks the .sh files with a digest-pinned shellcheck, while
tests/lint-action.sh checked the extracted run: body with whatever
shellcheck the runner had. The script now writes the body inside the
checkout and takes the checker from $SHELLCHECK, as
action-debian-build's shellcheck-composite.py does, and CI points that
at the same pinned image. Unset, it is plain shellcheck, so local runs
are unchanged.
Checked locally through the container: the current body passes, and a
seeded unquoted expansion fails with SC2086.1 parent b5086e9 commit eecda89
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
89 | | - | |
| 94 | + | |
90 | 95 | | |
0 commit comments