hyperlink-sw/.gitea/workflows/clang-format.yaml
Andreas Tsouchlos 9b41d1d399
Some checks failed
clang-format Check / Formatting Check (map[check:main/src]) (push) Failing after 46s
Change ubuntu version to 20.04
2023-11-25 18:13:49 +01:00

21 lines
573 B
YAML

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