Skip to content

Update clang-format workflow (#1137) #1921

Update clang-format workflow (#1137)

Update clang-format workflow (#1137) #1921

name: clang-format
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
- "stable-*.*"
schedule:
# Every day at 3:10 AM UTC
- cron: "10 3 * * *"
jobs:
formatting-check:
name: Formatting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: "Run clang-format style checks on src/*.[hc]pp . . ."
uses: joseph-edwards/clang-format-action@v1.0.1
with:
clang-format-version: "15"
exclude-regex: 'src\/_pkgconfig.h*'
check-path: "src"