Expand description
YAML workflow definition parser.
Workflow files use a GitHub Actions-inspired format:
name: CI Pipeline
on: push
jobs:
lint:
name: Lint
run: cargo clippy --all-targets
test:
name: Unit Tests
run: cargo test
build:
name: Build
needs: [lint, test]
run: cargo build --release
deploy:
name: Deploy
needs: [build]
steps:
- name: Deploy DB
run: ./scripts/migrate.sh
- name: Deploy App
run: ./scripts/deploy.shStructs§
- JobDef
- A single job definition in the workflow YAML.
- StepDef
- A single step within a job.
- Workflow
Def - Top-level YAML workflow definition.
Enums§
- Needs
- Dependencies can be a single string or a list.
- Trigger
Def - Trigger can be a simple string or a structured definition.