---
name: "github-actions-matrix-build"
description: "Run automated tests across multiple Node/Python versions and operating systems simultaneously."
metadata:
  author: "Actions"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "configure github actions matrix"
  - "disable fail-fast gha matrix"
  - "cross-platform ci testing"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# GitHub Actions Multi-OS Matrix Builds & Fail-Fast

Configures GitHub Actions matrix: strategy.matrix (os: [ubuntu-latest, macos-latest, windows-latest], version), max-parallel tuning, fail-fast: false to ensure full test visibility, and include/exclude matrix combinations.

## When to Invoke
Invoke this skill whenever you need to:
- configure github actions matrix
- disable fail-fast gha matrix
- cross-platform ci testing

## Execution SOP & Rules
1. Define strategy: matrix: { os: [ubuntu-latest, macos-latest], node-version: [18, 20, 22] }.
2. Set fail-fast: false under strategy block to view complete test results across all environments.
3. Reference dynamic matrix parameters: uses: actions/setup-node@v4 with node-version: ${{ matrix.node-version }}.
4. Inspect execution logs to verify parallel job execution and overall elapsed duration.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
