Skip to content

Commit 0507adc

Browse files
committed
(CAT-2013) Implement shellcheck in ci workflow
Following the implementation of a shellcheck action in a provision module workflow, we have decided it is useful enough to be implemented in our reusable gem ci workflow. This commit adds the shellcheck action as a new job in the gem ci workflow.
1 parent 3eba50e commit 0507adc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/gem_ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ on:
2626
type: "string"
2727

2828
jobs:
29+
shellcheck:
30+
name: "shellcheck"
31+
runs-on: ${{ inputs.runs_on }}
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: shellcheck
35+
uses: reviewdog/action-shellcheck@v1
36+
with:
37+
check_all_files_with_shebangs: "true"
38+
2939
spec:
3040
name: "spec"
3141
runs-on: ${{ inputs.runs_on }}

0 commit comments

Comments
 (0)