LUMOS Generate
Version updated for https://github.com/getlumos/lumos-action to version v1.0.0.
- This action is used across all versions by ? repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
🎉 LUMOS GitHub Action v1.0.0
First stable release of the LUMOS GitHub Action for automated schema generation and validation in CI/CD pipelines.
✨ Features
- Auto-install LUMOS CLI - Supports any version from crates.io
- Schema Validation - Validate
.lumosschemas before generation - Code Generation - Generate Rust + TypeScript code automatically
- Drift Detection - Detect differences between generated and committed files
- PR Comments - Automatic PR comments with diff summaries
- Configurable - Multiple inputs for customization
📦 Quick Start
- uses: actions/checkout@v4
- uses: getlumos/lumos-action@v1
with:
schema: 'schemas/**/*.lumos'
📋 Inputs
| Input | Description | Default |
|---|---|---|
schema | Path to schema files (supports globs) | Required |
check-only | Only validate, do not generate | false |
version | LUMOS CLI version to install | latest |
working-directory | Working directory for commands | . |
fail-on-drift | Fail if drift detected | true |
comment-on-pr | Post PR comment with results | true |
📊 Outputs
schemas-validated- Number of schemas validatedschemas-generated- Number of schemas generateddrift-detected- Whether drift was detecteddiff-summary- Summary of differences
📚 Documentation
🔗 Links
Full Changelog: https://github.com/getlumos/lumos-action/commits/v1.0.0