mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-19 00:46:02 +01:00
20 lines
483 B
YAML
20 lines
483 B
YAML
name: clang-format Check
|
|
on: [push, pull_request]
|
|
jobs:
|
|
formatting-check:
|
|
name: Formatting Check
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
path:
|
|
- 'src'
|
|
- 'examples'
|
|
- 'include'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run clang-format style check for C/C++/Protobuf programs.
|
|
uses: jidicula/clang-format-action@v4.13.0
|
|
with:
|
|
clang-format-version: '13'
|
|
check-path: ${{ matrix.path }}
|