CI now runs shellcheck on all shell scripts #102
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: build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: Build and test on macOS | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install xcpretty | |
| run: | | |
| gem install xcpretty | |
| - name: Build program | |
| run: | | |
| make build_unsigned | xcpretty -c && exit ${PIPESTATUS[0]} | |
| - name: Run tests | |
| run: | | |
| make runtests | |
| - name: Install shellcheck | |
| run: | | |
| HOMEBREW_NO_AUTO_UPDATE=1 brew install shellcheck | |
| - name: Run shellcheck | |
| run: | | |
| shellcheck *.sh |