add shellcheck action to catch script errors

This commit is contained in:
openoms 2024-04-07 08:52:58 +02:00
parent 22a95cae08
commit 3484835489
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

19
.github/workflows/test-shellcheck.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: "Test Shellcheck"
on:
workflow_dispatch:
push:
branches: ["dev"]
pull_request:
branches: ["dev"]
jobs:
shellcheck:
name: Run Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error