python-github-actions
Installation
SKILL.md
Quick Reference
| Action | Purpose | Speed |
|---|---|---|
astral-sh/setup-uv@v4 |
Install uv + caching | 10-100x faster |
actions/setup-python@v5 |
Traditional pip | Baseline |
| uv CI Pattern | Code |
|---|---|
| Setup | uses: astral-sh/setup-uv@v4 with enable-cache: true |
| Install Python | uv python install ${{ matrix.python-version }} |
| Sync deps | uv sync --all-extras |
| Run tests | uv run pytest |
| Matrix Strategy | Config |
|---|---|
| Python versions | python-version: ["3.11", "3.12", "3.13"] |
| Operating systems | os: [ubuntu-latest, windows-latest, macos-latest] |
| Fail fast | fail-fast: false for full coverage |