made changes on 2026-03-27:17:22:28 #26
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| severity: warning | |
| shfmt: | |
| name: Shell Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run shfmt | |
| uses: luizm/action-sh-checker@master | |
| env: | |
| SHFMT_OPTS: -i 4 -ci | |
| with: | |
| sh_checker_shellcheck_disable: true | |
| sh_checker_checkbashisms_enable: false | |
| smoke-test: | |
| name: Smoke Test | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install bash 4+ (macOS) | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install bash | |
| echo "$(brew --prefix)/bin" >> "$GITHUB_PATH" | |
| - name: Check bash version | |
| run: bash --version | |
| - name: Run help command | |
| run: bash motspilot.sh help | |
| - name: Run tasks list | |
| run: bash motspilot.sh tasks |