Refactored logic #273
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
| # Copyright (C) 2026 Owen Debiasio | |
| # Licensed under the GNU General Public License v3.0 or later. | |
| # Full notice available in the root README.md or COPYING file. | |
| name: Bash Lint | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install tools | |
| run: | | |
| sudo apt update | |
| sudo apt install -y shfmt shellcheck | |
| - name: shfmt (format check) | |
| run: | | |
| shfmt -w -i 4 -ci -sr . | |
| - name: shellcheck | |
| run: | | |
| shellcheck $(git ls-files '*.sh') |