.github/workflows/file_format.yml
raw| 1 | name: File format check |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | concurrency: |
| 6 | group: file_fmt-${{ github.head_ref || github.ref }} |
| 7 | cancel-in-progress: true |
| 8 | |
| 9 | permissions: |
| 10 | contents: read |
| 11 | |
| 12 | jobs: |
| 13 | format: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v4 |
| 17 | - uses: actions/setup-python@v5 |
| 18 | with: |
| 19 | python-version: '3.x' |
| 20 | - run: python3 ./run_format_tests.py |
| 21 | - run: python3 ./run_shell_checks.py |