mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
28 lines
531 B
YAML
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
|