Skip to content

clang-format

clang-format #255

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@v3
- name: "Run clang-format style checks on src/*.[hc]pp . . ."
uses: jidicula/[email protected]
with:
clang-format-version: '15'
exclude-regex: 'src\/_pkgconfig.h*'
check-path: 'src'