linutil/.github/workflows/bashisms.yml

27 lines
506 B
YAML
Raw Normal View History

2024-09-18 19:56:46 +01:00
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
2024-09-19 01:18:22 +01:00
run: sudo apt-get update && sudo apt-get install devscripts
2024-09-18 19:56:46 +01:00
2024-09-19 01:18:22 +01:00
- name: Check for bashisms
2024-09-18 19:56:46 +01:00
working-directory: tabs
2024-09-19 01:18:22 +01:00
run: find . -name '*.sh' | xargs -P 4 -n 1 checkbashisms