Created the workflow (#469)

This commit is contained in:
Adam Perkowski 2024-09-18 20:56:46 +02:00 committed by GitHub
parent f50c0e5c0d
commit 83d88f7a1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

27
.github/workflows/bashisms.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Check for bashisms
on:
push:
paths:
- tabs/**
branches: [ "main" ]
pull_request:
paths:
- tabs/**
merge_group:
workflow_dispatch:
jobs:
check-bashisms:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install devscripts
run: sudo apt install devscripts
- name: Concatenate all .sh files and check for bashisms
working-directory: tabs
run: |
find . -name '*.sh' -exec checkbashisms {} + > all_scripts.sh