Skip to content

Commit f08b9c6

Browse files
committed
Add shellcheck CI step
1 parent e76d0d7 commit f08b9c6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/shellcheck.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Shellcheck
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'release/*'
7+
pull_request:
8+
9+
jobs:
10+
shellcheck:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install shellcheck
16+
run: sudo apt update && sudo apt install --assume-yes shellcheck
17+
18+
- name: Run shellcheck
19+
run: find . -name \*.sh | xargs shellcheck --severity=warning

0 commit comments

Comments
 (0)