add shellcheck workflow (#1147)

* add shellcheck workflow

* add shellcheck workflow

* Shellcheck to fail only with error severity

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
Hezron Karani 2024-05-12 04:40:44 +03:00 committed by GitHub
parent 6ed0e53fc1
commit 0c7ff80fb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

17
.github/workflows/shell-check.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: ShellCheck
on: [pull_request]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Shellcheck
uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error
scandir: ./sndev