build(deps): bump actions/checkout from 4 to 6 #7
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install ShellCheck | |
| run: sudo apt-get install -y shellcheck | |
| - name: Lint groundhog | |
| run: shellcheck -s bash -S warning groundhog | |
| - name: Lint install.sh | |
| run: shellcheck -s bash -S warning install.sh | |
| smoke-test: | |
| name: Smoke Test | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install fswatch | |
| run: brew install fswatch | |
| - name: Verify script is executable | |
| run: test -x groundhog | |
| - name: Show help/status (no repo configured) | |
| run: | | |
| # Status should run without crashing even with no config | |
| ./groundhog status || true | |
| - name: Verify install.sh syntax | |
| run: bash -n install.sh | |
| - name: Verify groundhog syntax | |
| run: bash -n groundhog |