Skip to content

Reformatting all sources #4

Reformatting all sources

Reformatting all sources #4

name: Source code format check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y clang-format
- name: Run clang-format
run: |
clang-format -n -Werror $(git ls-files '*.*pp')