ci: add CI/CD workflow for Bash scripts linting #1

Open
jank wants to merge 5 commits from ci into main
Showing only changes of commit 36516ca001 - Show all commits

View file

@ -0,0 +1,22 @@
name: Bash Scripts CI/CD
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
# Allows manual triggering
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install shellcheck
run: sudo apt-get install -y shellcheck
- name: Lint bash scripts
run: |
find . -type f -name "*.sh" -exec shellcheck {} \;