From 0861fd35390e4f510968cf956bcb2767f9184503 Mon Sep 17 00:00:00 2001 From: Konrad Bodzioch Date: Mon, 1 Dec 2025 17:07:35 +0100 Subject: [PATCH] feat: Add cpplinter workflow --- .github/workflows/cpp_linters.yaml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/cpp_linters.yaml diff --git a/.github/workflows/cpp_linters.yaml b/.github/workflows/cpp_linters.yaml new file mode 100644 index 0000000..20cd5f6 --- /dev/null +++ b/.github/workflows/cpp_linters.yaml @@ -0,0 +1,34 @@ +name: CPPLinters + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + cpplinter: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Python Setup + uses: actions/setup-python@v3 + with: + python-version: 3.13 + + - name: Install libraries + run: make python-install-editable + + - name: Install pipx + run: | + sudo apt update + sudo apt install pipx + pipx ensurepath + sudo pipx ensurepath --global + - name: Install cpplint + run: pipx install cpplint + - name: Run cpplint + run: cpplint --filter=-whitespace/line_length,-whitespace/parens ./src/app/fast/*