1name: Verify that lv_conf_internal.h matches repository state 2on: 3 push: 4 pull_request: 5 6jobs: 7 verify-conf-internal: 8 runs-on: ubuntu-latest 9 steps: 10 - name: Checkout 11 uses: actions/checkout@v2 12 with: 13 persist-credentials: false 14 fetch-depth: 0 15 - name: Setup Python 16 uses: actions/setup-python@v1 17 with: 18 python-version: 3.7 19 - name: Generate lv_conf_internal.h 20 run: python lv_conf_internal_gen.py 21 working-directory: scripts 22 - name: Check that repository is clean 23 run: git diff --exit-code >/dev/null 2>&1 || (echo "Please regenerate lv_conf_internal.h using scripts/lv_conf_internal_gen.py"; false) 24