From ce778a5632e89df0a2db9f5c1b20e85a4e98d547 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 19 Jun 2026 19:10:07 +0200 Subject: workflows: split out jobs from ci.yml into separate workflows --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml (limited to '.github/workflows/lint.yml') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..1896bad --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Linting + +on: + workflow_call: + workflow_dispatch: + +jobs: + # Check that project-clang-format.py works (and the C/C++ files are formatted). + lint: + runs-on: ubuntu-latest + name: Linting + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Run clang-format + run: ./tools/project-clang-format.py + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '3.x' + - name: Run black + uses: psf/black@stable -- cgit v1.3