Skip to content

Commit 4ca9f9e

Browse files
Merge pull request #30 from Slamdunk/shellcheck
Add ShellCheck to CI
2 parents 0664c1a + e75ff42 commit 4ca9f9e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/shellcheck.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "ShellCheck"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- '[0-9]+.[0-9]+.x'
8+
- 'refs/pull/*'
9+
tags:
10+
11+
jobs:
12+
shellcheck:
13+
name: "ShellCheck"
14+
runs-on: "ubuntu-latest"
15+
steps:
16+
- name: "Checkout"
17+
uses: "actions/checkout@v2"
18+
19+
- name: "Run ShellCheck"
20+
uses: "reviewdog/action-shellcheck@v1"
21+
with:
22+
fail_on_error: true

0 commit comments

Comments
 (0)