Skip to content

Commit ec3e45e

Browse files
author
meisam
committed
add shellcheck to ci
1 parent f3c7eb4 commit ec3e45e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/shellcheck.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Shellcheck
3+
on: [push, pull_request]
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
shellcheck:
9+
name: Shellcheck
10+
runs-on: ubuntu-latest
11+
env:
12+
LANG: C.UTF-8
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install shellcheck
17+
run: sudo apt update && sudo apt install -y shellcheck && shellcheck --version
18+
19+
- name: Check shell scripts
20+
run: shellcheck -x -P "SCRIPTDIR"/utils --severity=error testssl.sh

0 commit comments

Comments
 (0)