added shellCheck for bash formatting #1
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: Proper Formatting on bash files | |
on: [push, pull_request] | |
jobs: | |
format_bash_files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ShellCheck | |
run: sudo apt install -y shellcheck | |
- name: Run ShellCheck | |
run: find . -type f -name "*.sh" -exec shellcheck {} + | |