build(deps): bump actions/checkout from 4.2.2 to 6.0.2 #113
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: Lint Shell Scripts | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - 'README*' | |
| - '.github/CODEOWNERS' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - 'README*' | |
| - '.github/CODEOWNERS' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| shellcheck: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 | |
| with: | |
| scandir: '.' | |
| severity: warning | |
| ignore_paths: terminal-academy node_modules | |
| syntax-check: | |
| name: bash -n syntax check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Parse every shell script with bash -n | |
| run: | | |
| failed=0 | |
| while IFS= read -r -d '' f; do | |
| if ! bash -n "$f" 2>&1; then | |
| echo "::error file=$f::bash -n parse failed" | |
| failed=1 | |
| fi | |
| done < <(find . \ | |
| -type f -name "*.sh" \ | |
| -not -path "./.git/*" \ | |
| -not -path "./node_modules/*" \ | |
| -not -path "./terminal-academy/*" \ | |
| -print0) | |
| if [ "$failed" -ne 0 ]; then | |
| exit 1 | |
| fi | |
| echo "All shell scripts parsed cleanly" | |
| coverage-assertions: | |
| name: Installer content coverage | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Assert step-5 advertises Vercel MCP (option 11) | |
| run: | | |
| if ! grep -q '11) Vercel' step-5/step-5-install.sh; then | |
| echo "::error file=step-5/step-5-install.sh::Vercel MCP option 11 missing from step-5 menu" | |
| exit 1 | |
| fi | |
| if ! grep -q 'install_vercel' step-5/step-5-install.sh; then | |
| echo "::error file=step-5/step-5-install.sh::install_vercel dispatch missing" | |
| exit 1 | |
| fi | |
| echo "step-5 Vercel MCP (option 11) coverage verified" | |
| - name: Assert step-5 advertises core MCP suite | |
| run: | | |
| missing=0 | |
| for anchor in "Notion" "Granola" "n8n" "Morgen" "Motion" "Playwright" "Superhuman" "Vercel"; do | |
| if ! grep -q "${anchor}" step-5/step-5-install.sh; then | |
| echo "::error file=step-5/step-5-install.sh::step-5 missing MCP anchor: ${anchor}" | |
| missing=1 | |
| fi | |
| done | |
| if [ "$missing" -ne 0 ]; then | |
| exit 1 | |
| fi | |
| echo "step-5 core MCP anchors all present" |