mpalmer / action-validator

Tool to validate GitHub Action and Workflow YAML files
GNU General Public License v3.0
277 stars 23 forks source link

Allowing the software to be run properly on Rust #13

Closed rbozan closed 2 years ago

rbozan commented 2 years ago

Looking at the code it's mostly intended for CLI but with just a few small tweaks any Rust crate could use this crate properly with proper Error handling. Now it just returns a boolean.

https://github.com/mpalmer/action-validator/blob/main/src/schemas.rs#L19-L24

mpalmer commented 2 years ago

A PR that doesn't impact existing functionality would be accepted. I have no need for calling this functionality from other Rust code, so I have no intention of implementing this myself.