mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-12 21:56:21 +00:00
18 lines
369 B
YAML
18 lines
369 B
YAML
name: Shell Linter
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-shell:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Install ShellCheck
|
|
run: sudo apt-get update && sudo apt-get install -y shellcheck
|
|
- name: Run ShellCheck
|
|
run: shellcheck -x $(find scripts -type f -name '*.sh' -print)
|