hyperlink-sw/.gitea/workflows/clang-format.yaml
Andreas Tsouchlos d254049421
Some checks failed
clang-format Check / Formatting Check (map[check:main/src exclude:]) (push) Failing after 10s
Try official clang-format action
2023-11-26 19:15:28 +01:00

21 lines
615 B
YAML

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'main/src'
exclude: '' # Nothing to exclude
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'Mozilla' # optional