make external linkage case test what it claims to test #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure autogenerated files are up to date | |
name: Check autogenerated files | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
autogen-files: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout the test suite | |
- uses: actions/checkout@v4 | |
# regenerate autogenerated files | |
- name: Generate files | |
run: | | |
./generate_expected_results.py | |
./gen_from_templates.py | |
# make sure those files were already up-to-date | |
# (i.e. no untracked changes) | |
- name: Check for changes | |
run: | | |
git diff --exit-code |