Skip to content

Commit 396ea12

Browse files
committed
ADD TO: basic QA / add shellcheck
1 parent 17aa19e commit 396ea12

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/basic-qa.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,21 @@ jobs:
7777
# yamllint disable-line rule:line-length
7878
if: ${{ steps.spellcheck.outputs.success == false && steps.spellcheck.outputs.number_of_issues != 11 && steps.spellcheck.outputs.number_of_files_with_issues != 5}}
7979
run: exit 1
80+
81+
shellcheck:
82+
name: 'ShellCheck'
83+
runs-on: ubuntu-latest
84+
85+
steps:
86+
- name: Checkout code
87+
uses: actions/checkout@v4
88+
89+
- name: Set up problem matcher
90+
uses: lumaxis/shellcheck-problem-matchers@v2
91+
with:
92+
format: gcc
93+
94+
- name: Run ShellCheck
95+
uses: ludeeus/action-shellcheck@2.0.0
96+
with:
97+
format: gcc

.shellcheckrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
shell=bash
2+
color=always
3+
4+
external-sources=false
5+
source-path=/build
6+
7+
# Turn on all checks.
8+
enable=all

0 commit comments

Comments
 (0)