Skip to content

839 stacking layout config for tesseratos #2213

839 stacking layout config for tesseratos

839 stacking layout config for tesseratos #2213

name: 🧼 Formatting Check
on:
pull_request:
branches: [ main ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install clang-format
- name: Check
run: |
for file in $(git diff -U0 --name-only --diff-filter=ACMR HEAD^ | grep -E '.*\.(c|cpp|h|hpp)$'); do
clang-format --dry-run -Werror $file || exit 1
done