The official setup action installs Elide and adds it to PATH:
- name: Set up Elide
uses: elide-dev/setup-elide@v4.2.0Pin a dated release when reproducibility matters:
- name: Set up Elide
uses: elide-dev/setup-elide@v4.2.0
with:
version: 1.4.7+20260901
channel: nightlyUse a commit SHA instead of a tag when your supply-chain policy requires an immutable action reference. See the setup-elide action for its current inputs, outputs, installer modes, and supported platforms.
Example workflow
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: elide-dev/setup-elide@v4.2.0
- run: elide install
- run: elide format -- --dry-run
- run: elide testIf the project declares npm dependencies, install them explicitly:
- run: elide install --ecosystems=maven,npmUse --workspace instead when the workflow should install every available
ecosystem declared by the project.