Unify workflow yamls with pre-processing step #1
Workflow file for this run
This file contains hidden or 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
| name: Check generated workflows | |
| on: | |
| pull_request: | |
| # This workflow fails if any generated workflow are not up to date. | |
| # Re-run 'make workflows' from the repo root to update them. | |
| jobs: | |
| check-workflows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate workflows | |
| run: | | |
| make workflows | |
| - name: Verify no diffs | |
| run: | | |
| git diff --exit-code .github/workflows |