mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
216f1a4836
* BIG CHANGES * core metadata * Added readme.md to the package * Moved the crate back to tui Co-authored-by: Liam <lj3954@users.noreply.github.com> --------- Co-authored-by: Liam <lj3954@users.noreply.github.com>
32 lines
724 B
YAML
32 lines
724 B
YAML
name: Check for bashisms
|
|
|
|
on:
|
|
# push:
|
|
# paths:
|
|
# - core/tabs/**
|
|
# branches: [ "main" ]
|
|
pull_request:
|
|
paths:
|
|
- core/tabs/**
|
|
merge_group:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check-bashisms:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: git fetch origin ${{ github.base_ref }}
|
|
|
|
- name: Install devscripts
|
|
run: sudo apt-get update && sudo apt-get install devscripts
|
|
|
|
- name: Check for bashisms in changed files
|
|
run: |
|
|
for file in $(git diff --name-only origin/${{ github.base_ref }} HEAD core/tabs); do
|
|
if [[ "$file" == *.sh ]]; then
|
|
checkbashisms "$file"
|
|
fi
|
|
done
|