refactor(devtools): modularize by package manager #12
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Syntax check | |
| run: make check | |
| - name: Install bashunit | |
| run: make install-bashunit | |
| - name: Run tests | |
| run: make test | |
| - name: Lint with shellcheck | |
| run: | | |
| if command -v shellcheck >/dev/null 2>&1; then | |
| make lint | |
| else | |
| echo "shellcheck not available, skipping lint" | |
| fi | |
| continue-on-error: true |