shellcheck: general linting and github action #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ShellCheck Linting | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: Run ShellCheck | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
uses: ludeeus/[email protected] | |
with: | |
severity: warning | |
scandir: "./usr/local/share/bastille" | |
additional_files: "./usr/local/bin/bastille" | |
ignore_paths: "./usr/local/share/bastille/templates" |