Skip to content

Commit 5394d21

Browse files
committed
CI: Add a bash linter to pre-submits
Warns about shellcheck issues with severity `error`.
1 parent fb193e8 commit 5394d21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ jobs:
100100
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
101101
version: v1.55.2
102102

103+
shellcheck:
104+
name: Shellcheck
105+
runs-on: ubuntu-latest
106+
steps:
107+
- uses: actions/checkout@v4
108+
- name: Run ShellCheck
109+
uses: ludeeus/action-shellcheck@master
110+
with:
111+
severity: error
112+
103113
test-coverage:
104114
name: test-coverage
105115
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)