mirror of
https://github.com/bahdotsh/wrkflw.git
synced 2025-12-16 19:57:44 +01:00
GitHub Actions requires step IDs to be unique within each job scope, but wrkflw was not validating this constraint. This caused workflows with duplicate step IDs to pass validation with exit code 0, while GitHub would reject them with "The identifier 'X' may not be used more than once within the same scope". - Add HashSet tracking of step IDs in validate_steps() - Check for duplicate IDs and report validation errors - Use GitHub's exact error message format for consistency - Step IDs can still be duplicated across different jobs (which is valid) Fixes validation gap that allowed invalid workflows to pass undetected.