Add shellcheck workflow

This commit is contained in:
ZoopaMario 2024-12-28 20:42:05 +01:00
parent f0fd008e1d
commit 7d3219f584

View file

@ -0,0 +1,24 @@
name: Bash Linter
on:
push:
paths:
- '**/*.sh'
pull_request:
paths:
- '**/*.sh'
jobs:
lint:
runs-on: docker
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Run ShellCheck
uses: docker/build-push-action@v2
- name: Lint Bash Scripts
run: |
find . -name '*.sh' -print0 | xargs -0 shellcheck