aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-05 10:34:55 +0500
committerEgor Tensin <egor@tensin.name>2026-10-05 10:53:25 +0500
commitb4f6e1253356370c8d8855ea0b155e844db98b83 (patch)
treef60faafa2ab66e391eec38480e56b2a845cdc539 /.github/workflows/lint.yml
parentpyproject.toml: make a guess about the required Python version (diff)
downloadcmake-common-b4f6e1253356370c8d8855ea0b155e844db98b83.tar.gz
cmake-common-b4f6e1253356370c8d8855ea0b155e844db98b83.zip
tools/project-clang-format.py -> project/format.py
Diffstat (limited to '')
-rw-r--r--.github/workflows/lint.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index afefd20..5566327 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -5,7 +5,7 @@ on:
workflow_dispatch:
jobs:
- # Check that project-clang-format.py works (and the C/C++ files are formatted).
+ # Check that project.format works (and the C/C++ files are formatted).
lint:
runs-on: ubuntu-latest
name: Linting
@@ -13,11 +13,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v7
- - name: Run clang-format
- run: ./tools/project-clang-format.py
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.x'
+ - name: Run clang-format
+ run: python -m project.format
- name: Run black
uses: psf/black@stable