linutil/.github/workflows/bashisms.yml
2024-09-18 13:56:46 -05:00

28 lines
531 B
YAML

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