Skip to content

[CI] Split lint workflow #2

[CI] Split lint workflow

[CI] Split lint workflow #2

Workflow file for this run

name: C++ Lint
on:
workflow_call:
push:
paths:
- '**/*.cpp'
- '**/*.hpp'
- '**/*.c'
- '**/*.h'
- '.clang-format'
- '.github/workflows/cpp-lint.yml'
pull_request:
paths:
- '**/*.cpp'
- '**/*.hpp'
- '**/*.c'
- '**/*.h'
- '.clang-format'
- '.github/workflows/cpp-lint.yml'
jobs:
clang-format:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
source: '.'
clangFormatVersion: 20