* Clang format joker files and def files * Fix blind usage of GBLA_UNUSED macro * Add final files for clang-format (main.c and selection_grid.h) --------- Co-authored-by: MeirGavish <meir.gavish@gmail.com>
21 lines
455 B
YAML
21 lines
455 B
YAML
name: Run Clang Format Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
run-test:
|
|
name: Verify code formatting
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install clang-format
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y clang-format
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Run clang-format
|
|
run: clang-format --dry-run -Werror include/*.h source/*.c
|