linutil/.github/workflows/bashisms.yml
2024-09-18 19:18:22 -05:00

27 lines
506 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-get update && sudo apt-get install devscripts
- name: Check for bashisms
working-directory: tabs
run: find . -name '*.sh' | xargs -P 4 -n 1 checkbashisms