Skip to content

Commit 7299b3c

Browse files
committed
Add shell syntax and ShellCheck CI
1 parent aebc71b commit 7299b3c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/shell.yml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Shell checks
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
shell:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Check Bash syntax
16+
run: bash -n bootstrap.sh install.sh doctor.sh uninstall.sh
17+
- name: Run ShellCheck
18+
run: shellcheck bootstrap.sh install.sh doctor.sh uninstall.sh

0 commit comments

Comments
 (0)