Merge pull request #24 from dev-satoshi/add/vscode-extensions #49
This file contains hidden or 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: Shell Script Lint | |
| on: [push] | |
| jobs: | |
| lint: | |
| name: Lint Shell scripts with ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install ShellCheck | |
| run: sudo apt install -y shellcheck | |
| - name: Run ShellCheck | |
| run: | | |
| find . -type f -name '*.sh' -not -path './.github/*' -print0 \ | |
| | xargs -0 shellcheck --shell=bash |