summaryrefslogtreecommitdiff
path: root/.github/workflows/file_format.yml
blob: a8d4ce21bd0e0b3f2fa9fcb243c98191ebbad010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: File format check

on: [push, pull_request]

concurrency:
  group: file_fmt-${{ github.head_ref || github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

jobs:
  format:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-python@v5
      with:
        python-version: '3.x'
    - run: python3 ./run_format_tests.py
    - run: python3 ./run_shell_checks.py