Skip to content

Commit a0d006d

Browse files
committed
chore: Shall ScriptのLintを追加
1 parent 540e083 commit a0d006d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Shell Script Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
name: Lint Shell scripts with ShellCheck
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Install ShellCheck
15+
run: sudo apt install -y shellcheck
16+
17+
- name: Run ShellCheck
18+
run: shellcheck ./install.sh ./scripts/*.sh

0 commit comments

Comments
 (0)