CI: Run shellcheck on scripts.

This commit is contained in:
Joachim Bauch 2024-05-22 14:01:20 +02:00
parent 00d17bae97
commit e2ac08ae67
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

27
.github/workflows/shellcheck.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: shellcheck
on:
push:
branches: [ master ]
paths:
- '.github/workflows/shellcheck.yml'
- '**.sh'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/shellcheck.yml'
- '**.sh'
permissions:
contents: read
jobs:
lint:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
run: |
find -name "*.sh" | xargs shellcheck