21 lines
491 B
YAML
21 lines
491 B
YAML
name: "Lint clang"
|
|
description: "Lint with Clang formatter"
|
|
|
|
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 Clang formatter
|
|
uses: ./.github/actions/lint-error
|
|
with:
|
|
format-command: ./scripts/lint_clang.py -f
|
|
format-tool: "clang-format"
|