---
-name: 'Verify formatting and Makefile.am sort order'
+name: 'Verify source code formatting; check Makefile.am sort order'
on:
push:
jobs:
build:
- name: verify formatting and Makefile.am sort order
+ name: Verify source code formatting; check Makefile.am sort order
# on a ubuntu-24.04 VM
runs-on: ubuntu-24.04
steps:
- name: Update dependencies
run: |
sudo apt-get update
- sudo apt-get -qq --no-install-recommends install git clang-11
+ sudo apt-get -qq --no-install-recommends install git clang-format-19
- name: Run format-code on files that should be formatted
run: |
./build-scripts/format-code $(find . -type f -name '*.[ch][ch]' | sort | comm -23 - .not-formatted)