Skip to content

Move all the changes to master branch #65

Move all the changes to master branch

Move all the changes to master branch #65

# SPDX-License-Identifier: Apache-2.0
# Copyright 2023 Intel Corporation
name: C++/C/Protobuf Format Check
on:
- pull_request
jobs:
format-check:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-20.04
path:
- check: 'core'
exclude: '(kmod)' # Exclude "kmod" dir because of different format
- check: 'protobuf'
exclude: '' # Nothing to exclude
- check: 'sample_plugin/modules'
exclude: '' # Nothing to exclude
- check: 'sample_plugin/protobuf'
exclude: '' # Nothing to 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: '12'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}