Skip to content

Commit 8d5900a

Browse files
authored
[chore] add shellcheck to CI (#3664)
1 parent 0734347 commit 8d5900a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/shellcheck.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: shellcheck
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
permissions: {}
8+
9+
jobs:
10+
shellcheck:
11+
name: shellcheck
12+
runs-on: ubuntu-24.04
13+
env:
14+
VERSION: v0.10.0
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: shellcheck ci scripts
18+
uses: ludeeus/[email protected]
19+
env:
20+
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
21+
with:
22+
scandir: ".ci"
23+
severity: warning
24+
version: ${{ env.VERSION }}
25+
- name: shellcheck hack scripts
26+
uses: ludeeus/[email protected]
27+
env:
28+
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
29+
with:
30+
scandir: "hack"
31+
severity: warning
32+
version: ${{ env.VERSION }}

0 commit comments

Comments
 (0)