mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Created the workflow (#469)
This commit is contained in:
parent
f50c0e5c0d
commit
83d88f7a1b
27
.github/workflows/bashisms.yml
vendored
Normal file
27
.github/workflows/bashisms.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
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
|
Loading…
Reference in New Issue
Block a user