We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88e2fcb + dcee054 commit 96866b0Copy full SHA for 96866b0
.github/workflows/module_ci.yml
@@ -14,6 +14,11 @@ on:
14
required: false
15
default: ''
16
type: "string"
17
+ run_shellcheck:
18
+ description: "Run shellcheck on all bash files"
19
+ required: false
20
+ default: false
21
+ type: "boolean"
22
23
24
jobs:
@@ -81,6 +86,15 @@ jobs:
81
86
bundle env
82
87
echo ::endgroup::
83
88
89
+ - name: "shellcheck"
90
+ uses: reviewdog/action-shellcheck@v1
91
+ if: |
92
+ inputs.run_shellcheck &&
93
+ inputs.runs_on == 'ubuntu-latest' &&
94
+ matrix.ruby_version == '3.2'
95
+ with:
96
+ check_all_files_with_shebangs: "true"
97
+
84
98
- name: "Run Static & Syntax Tests"
85
99
run: |
100
bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
0 commit comments