ci(github): add clang-format check

This commit is contained in:
Oleg Shparber
2026-04-01 02:36:17 +03:00
parent 2535b73fad
commit 0925e75bcd
+23
View File
@@ -14,6 +14,29 @@ concurrency:
cancel-in-progress: true
jobs:
clang-format:
name: Clang Format
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Run clang-format
uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: '22'
style: file
tidy-checks: '-*'
format-review: true
files-changed-only: false
ignore-format: 'src/contrib'
reuse:
name: REUSE Compliance
runs-on: ubuntu-latest