Files
deskflow/.github/actions/lint-clang/action.yml
2024-10-13 20:13:04 +01:00

22 lines
484 B
YAML

name: "Lint clang"
description: "Clang Ling Sources"
runs:
using: "composite"
steps:
- name: Setup Python venv
uses: ./.github/actions/init-python
- name: Install dependencies
shell: bash
run: |
source .venv/bin/activate
pip install pyyaml clang_format
- name: Linting with CMake formatter
uses: ./.github/actions/lint-error
with:
format-command: ./scripts/lint_clang.py -f
format-tool: "cmake-format"