Changes to point to master branch instead of dpdk-2011-focal branch #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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'] }} |