chore(deps): bump actions/checkout from 4.2.2 to 7.0.0 #47
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: 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 | |
| with: | |
| scandir: '.' | |
| severity: warning | |
| ignore_paths: node_modules | |
| syntax-check: | |
| name: bash -n syntax check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - 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/*" \ | |
| -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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Assert design module installs Playwright MCP | |
| run: | | |
| if ! grep -q 'install_playwright' design/install.sh; then | |
| echo "::error file=design/install.sh::install_playwright function missing from design module" | |
| exit 1 | |
| fi | |
| if ! grep -q '@playwright/mcp' design/install.sh; then | |
| echo "::error file=design/install.sh::@playwright/mcp package reference missing" | |
| exit 1 | |
| fi | |
| echo "Playwright MCP coverage verified in design module" | |
| - name: Assert design module advertises core design MCP suite | |
| run: | | |
| missing=0 | |
| for anchor in "Canva" "Figma" "Excalidraw" "Gamma" "Playwright"; do | |
| if ! grep -qi "${anchor}" design/install.sh; then | |
| echo "::error file=design/install.sh::design module missing MCP anchor: ${anchor}" | |
| missing=1 | |
| fi | |
| done | |
| if [ "$missing" -ne 0 ]; then | |
| exit 1 | |
| fi | |
| echo "design module core MCP anchors all present" |