Skip to content

ci: add generated file freshness check#138

Merged
osteele merged 1 commit intomainfrom
fix-50-verify-generated
Feb 26, 2026
Merged

ci: add generated file freshness check#138
osteele merged 1 commit intomainfrom
fix-50-verify-generated

Conversation

@osteele
Copy link
Owner

@osteele osteele commented Feb 26, 2026

Summary

  • Add verify-generated CI job that installs ragel + goyacc, runs go generate ./..., and verifies no diff
  • Catches cases where .rl or .y source files are modified without regenerating the corresponding Go files

Fixes #50

Test plan

  • CI job passes on this branch (generated files are up to date)
  • Verify job fails when generated files are stale (manual test)

@osteele osteele force-pushed the fix-50-verify-generated branch from 4002509 to 9c11389 Compare February 26, 2026 11:37
@osteele osteele merged commit d09b306 into main Feb 26, 2026
9 checks passed
@osteele osteele deleted the fix-50-verify-generated branch February 26, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI should test whether generated files match latest sources

1 participant