mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-10-29 16:21:33 -04:00
40 lines
712 B
YAML
40 lines
712 B
YAML
name: ShellCheck
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
paths-ignore:
|
|
- '**.gitignore'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- '**.conf'
|
|
- '**.service'
|
|
- '**.timer'
|
|
- '**.path'
|
|
- '**.list'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.gitignore'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- '**.conf'
|
|
- '**.service'
|
|
- '**.timer'
|
|
- '**.path'
|
|
- '**.list'
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: Shell syntax checker
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|