Skip to content

Add clang format

Add clang format #1

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
clang-format:
name: Lint clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format lint
working-directory: firmware
run: find include/ src/ \( -name '*.[ch]pp' -o -name '*.h' \) | xargs clang-format --verbose --style=file -n --Werror