Set up your GitHub Actions workflow with the Poly Universal Polyglot Package & Dependency Orchestrator for Node.js, Python, Rust, and Go.
- ⚡ Zero-Friction Setup: Installs
@ritualdev-lab/polyor the standalone native binary on GitHub Actions runners (ubuntu-latest,macos-latest,windows-latest) with zero Node.js required. - 📦 Automated Dependency Caching: Caches and restores
node_modules, Python virtual environments (.venv), and Rust build artifacts (target) using deterministicpoly.lockcryptographic hash keys. - 🛡️ Zero-Drift & Live Firewall: Run
poly install --frozen,poly audit --fail-on high, or live supply-chain quarantine checks directly in your CI pipeline.
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Set up Poly
uses: RitualDev-Lab/setup-poly@v1
with:
version: 'latest'
- name: Install & synchronize polyglot dependencies
run: poly install --frozen
- name: Audit cross-stack vulnerabilities
run: poly audit --fail-on high- name: Set up Poly (v0.1.0 without cache)
uses: RitualDev-Lab/setup-poly@v1
with:
version: '0.1.0'
cache: 'false'| Input | Description | Required | Default |
|---|---|---|---|
version |
Version of @ritualdev-lab/poly to install |
No | latest |
cache |
Automatically restore dependency cache based on poly.lock |
No | true |
cache-dependency-path |
Path to composite lockfile | No | poly.lock |
| Output | Description |
|---|---|
poly-version |
Installed poly CLI version |
MIT © RitualDev Lab
If you find this project valuable, consider supporting our open-source development: