Skip to content

Lib updates

Lib updates #12

Workflow file for this run

name: clang-format
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
clang_format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt install -y clang-format-13
- name: Run clang-format
run: |
SOURCES=$(find ${{github.workspace}}/src -type f | grep "\.cpp$\|\.hpp$\|\.c$\|\.h$\|\.h\.in$")
clang-format-13 -style=file -Werror --dry-run $SOURCES