Unify workflow yamls with pre-processing step #5
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: Generated workflow sync | |
| on: | |
| pull_request: | |
| # This workflow fails if any generated workflows are not up to date. | |
| # Re-run 'make' in .github/workflow-src to update them. | |
| jobs: | |
| check-workflows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential | |
| - name: Generate workflows | |
| run: | | |
| cd .github/workflow-src | |
| make | |
| - name: Verify no diffs | |
| run: | | |
| git diff --exit-code .github/workflows |