Skip to content

Merge pull request #8 from machinefi/add-docs-3 #43

Merge pull request #8 from machinefi/add-docs-3

Merge pull request #8 from machinefi/add-docs-3 #43

name: Code formatting
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'src'
exclude: 'tinycrypt'
- check: 'examples'
exclude: ''
- check: 'tests'
exclude: ''
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}