pr_01m47d15m3e54sn21z27rpy5n9/crates/actions/src/lib.rs

17 lines718 bytesCodeBlame
1//! GitHub Actions on g1t. A repository's `.g1t/workflows/*.yml`, written
2//! exactly as GitHub's `.github/workflows`, run on
3//! g1t as they are: this crate reads them ([`workflow`]), evaluates their
4//! `${{ }}` expressions ([`expr`]), matches their branch and path filters
5//! ([`filter`]), expands their matrices ([`matrix`]), and says which g1t
6//! events are which GitHub events ([`events`]).
7//!
8//! It has no I/O, so the actions service (in a Worker) and the sandbox
9//! (in a container) share it: the service decides what runs, the sandbox
10//! runs the steps, and both read workflows and expressions the same way.
11
12pub mod cron;
13pub mod events;
14pub mod expr;
15pub mod filter;
16pub mod matrix;
17pub mod workflow;