.github
Try gain.vscode
Initial commitbench
Add benchmark2crates
Add encoding crate to group the custom GH encoding logic (#39)editors
chore: release 0.1.3examples
make gh runner use containers: calltests
Add encoding crate to group the custom GH encoding logic (#39).dockerignore
Initial commit.gitignore
Consolidate gh-runner cli inside integration cliCargo.lock
Add encoding crate to group the custom GH encoding logic (#39)Cargo.toml
Add encoding crate to group the custom GH encoding logic (#39)justfile
Fix cILICENSE
Initial commitREADME.md
Add badge for number of conformance testsrelease.toml
Prepare for first releaseCanopy
A modular implementation of the GitHub Actions protocol, in Rust.
It comes in two halves. The SDK is a set of crates covering the protocol itself: the
workflow format, the expression language, the contexts, the planner, the runner, and the
wire protocol a self-hosted runner speaks to GitHub. The canopy binary is one composition of those crates, which runs a
workflow on your machine.
canopy
canopy run .github/workflows/ci.yml # run it here
canopy run ci.yml --job build -n # what would run, and in what order
canopy lint ci.yml # what is wrong with it
canopy lsp # language server, over stdioThe SDK
| crate | what it is |
|---|---|
gh-actions-spec | The workflow and action.yml file formats, as types |
gh-actions-expr | The ${{ }} language: lexer, parser, evaluator, and what an expression reads |
gh-actions-context | The contexts a run exposes |
gh-actions-plan | Converts workflows to valid jobs |
gh-actions-lint | Linting checks for the workflows |
gh-actions-runner | Runs a planned job |
gh-actions-services | The artifact and cache services a job talks to |
gh-actions-listener | The protocol a self-hosted runner speaks: register, poll, acquire, report |
Examples
examples holds other ways the same crates go together:
| example | what it is |
|---|---|
gh-runner-local | Takes jobs from GitHub and runs them on this machine |
gh-runner-fargate-ondemand | Takes jobs from GitHub and gives each one an AWS Fargate task |