2024-05-31 13:27:25 -04:00
|
|
|
name: ShellCheck
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- main
|
|
|
|
paths-ignore:
|
|
|
|
- '**.gitignore'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
2024-05-31 13:38:19 -04:00
|
|
|
- '**.conf'
|
|
|
|
- '**.service'
|
|
|
|
- '**.timer'
|
|
|
|
- '**.path'
|
|
|
|
- '**.list'
|
2024-05-31 13:27:25 -04:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.gitignore'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
2024-05-31 13:38:19 -04:00
|
|
|
- '**.conf'
|
|
|
|
- '**.service'
|
|
|
|
- '**.timer'
|
|
|
|
- '**.path'
|
|
|
|
- '**.list'
|
2024-05-31 13:27:25 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
name: Bash syntax checker
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run ShellCheck
|
|
|
|
uses: ludeeus/action-shellcheck@master
|