aboutsummaryrefslogtreecommitdiffstats
path: root/meson/.github/workflows/file_format.yml
diff options
context:
space:
mode:
Diffstat (limited to 'meson/.github/workflows/file_format.yml')
-rw-r--r--meson/.github/workflows/file_format.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/meson/.github/workflows/file_format.yml b/meson/.github/workflows/file_format.yml
new file mode 100644
index 000000000..278fb297d
--- /dev/null
+++ b/meson/.github/workflows/file_format.yml
@@ -0,0 +1,17 @@
+name: File format check
+
+on: [push, pull_request]
+
+concurrency:
+ group: file_fmt-${{ github.head_ref }}
+ cancel-in-progress: true
+
+jobs:
+ format:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+ - run: python3 ./run_format_tests.py