File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 7878 - name : Fail the build when more spelling issues were found than expected
7979 if : ${{ always() && ( steps.spellcheck.outputs.number_of_issues != 5 || steps.spellcheck.outputs.number_of_files_with_issues != 3 ) }}
8080 run : exit 1
81+
82+ shellcheck :
83+ name : ' ShellCheck'
84+ runs-on : ubuntu-latest
85+
86+ steps :
87+ - name : Checkout code
88+ uses : actions/checkout@v4
89+
90+ - name : Set up problem matcher
91+ uses : lumaxis/shellcheck-problem-matchers@v2
92+ with :
93+ format : gcc
94+
95+ - name : Run ShellCheck
96+ uses : ludeeus/action-shellcheck@2.0.0
97+ with :
98+ format : gcc
Original file line number Diff line number Diff line change 1+ shell =bash
2+ color =always
3+
4+ external-sources =false
5+ source-path =/build
6+
7+ # Turn on all checks.
8+ enable =all
You can’t perform that action at this time.
0 commit comments