GitHub Actions matrix builds caching and conditional deploys
Scanned 9/10/2026
Install to Claude Code
npx -y skills add LoopyLuci/Skills --skill ci-cd-pipeline-setup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ci Cd Pipeline Setup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-ci-cd-pipeline-setup)More formats (shields.io, HTML) on the badges page.
---
name: ci-cd-pipeline-setup
description: "GitHub Actions matrix builds caching and conditional deploys"
---
# CI/CD Pipeline Setup
## GitHub Actions
```yaml
name: CI/CD
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: ${{ matrix.python-version }} }
- uses: actions/cache@v4
with: { path: ~/.cache/pip, key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} }
- run: pip install -e ".[dev]"
- run: pytest
deploy:
needs: [test]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- run: echo "Deploying..."
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!