difftastic/.github
Eugene Yokota 5029432a9e Fix C code fidelity check
Problem
-------
There's C code fidelity check in the CI process, but over time it seems
to have broken.
`needs.changedfiles.outputs.c` gets triggered for either `src/scanner.c`
or the generated `src/parser.c`, then the fidelity check logic
expects that `git diff` will be empty.
This actually won't work if you changed both `src/parser.c` and `grammar.js`
at the same time.

Solution
--------
The fix is to make a new `changedfiles.outputs.gen`. Now the new
behavior is:
1. If any C code were changed (including `src/parser.c`), run full tests
   on all 3 Oses.
2. If non-`src/parser.c` C code were changed, run fidelity check on
   Linux.
2023-06-08 09:27:01 +07:00
..
ISSUE_TEMPLATE chore: create an issue template 2023-01-15 12:46:42 +07:00
workflows Fix C code fidelity check 2023-06-08 09:27:01 +07:00