1name: Verify generated files are up to date
2runs:
3  using: composite
4  steps:
5    - shell: bash
6      run: |
7        set -x
8        [[ "$OSTYPE" == "darwin"* ]] && export PATH="/usr/local/opt/bison/bin:$PATH"
9        scripts/dev/genfiles
10        Zend/zend_vm_gen.php
11        build/gen_stub.php -f
12        build/gen_stub.php --generate-optimizer-info
13        git add . -Nu && git diff --exit-code
14